coderberg/residence-cms

Open Source Property Management System built with Symfony

Installs: 728

Dependents: 0

Suggesters: 0

Security: 0

Stars: 146

Watchers: 18

Forks: 55

Open Issues: 6

Type:project

v2.11.0 2024-07-29 06:57 UTC

README

GitHub Scrutinizer Code Quality Testing with MySQL Reliability Rating StyleCI

ResidenceCMS is a fast and lightweight Property Management System on top of Symfony 7.

GitHub

Requirements

Installation

  1. Install Composer (see http://getcomposer.org/download)

  2. Create new project via Composer

    $ composer create-project coderberg/residence-cms mywebsite.loc
    
  3. Enter the newly created folder

    $ cd mywebsite.loc
    
  4. After installing, you should configure your web server's document / web root to be the public directory.

  5. Create .env.local from .env file and fill in your database credentials

    DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
    
  6. Run

    $ php bin/console app:install
    
  7. Go to http://mywebsite.loc/en/admin and log in.

    login: admin
    password: admin
    
  8. To use feedback forms, configure MAILER_DSN in .env.local

Tests

  1. Modify your DATABASE_URL config in .env.test.local

    DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
    
  2. Install the ChromeDriver:

    vendor/bin/bdi detect drivers
    
  3. Execute this command to run tests:

    php bin/phpunit
    

Additional documentation