ResidenceCMS is a fast and lightweight Property Management System on top of Symfony 6.
- PHP 8.0.2 or higher;
- PDO PHP Extension;
- GD PHP extension
- MySQL >= 5.7;
- And the usual Symfony application requirements.
-
Install Composer (see http://getcomposer.org/download)
-
Create new project via Composer
$ composer create-project coderberg/residence-cms mywebsite.loc
-
Enter the newly created folder
$ cd mywebsite.loc
-
After installing you should configure your web server's document / web root to be the
public
directory. -
Create
.env.local
from.env
file and fill in your database credentialsDATABASE_URL=mysql://db_user:[email protected]:3306/db_name
-
Run
$ php bin/console app:install
-
Go to http://mywebsite.loc/admin and log in.
login: admin password: admin
-
To use feedback forms, configure MAILER_DSN in
.env.local
-
Modify your DATABASE_URL config in
.env.test.local
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name
-
Execute this command to run tests:
php bin/phpunit