ResidenceCMS is a fast and lightweight Property Management System on top of Symfony 7.
- PHP 8.2.0 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:db_password@127.0.0.1:3306/db_name
-
Run
$ php bin/console app:install
-
Go to http://mywebsite.loc/en/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:db_password@127.0.0.1:3306/db_name
-
Install the ChromeDriver:
vendor/bin/bdi detect drivers
-
Execute this command to run tests:
php bin/phpunit