A fresh new Symfony 6.4 CMS webapp project to manage a Lo Pati content resources.
- PHP 8.3+
- MySQL 8.0+
- Composer 2.0+
- Git 2.0+
- Meilisearch 1.0+
$ git git@github.com:Flexible-User-Experience/lo-pati-6.git
$ cd lo-pati-6
$ cp env.dist .env
$ nano .env
$ composer install
$ php bin/console messenger:consume async --env=prod
$ php bin/console meilisearch:create --env=prod
$ php bin/console meilisearch:import --env=prod
Remember to edit .env
config file according to your system environment needs.
$ ./scripts/developer-tools/test-database-reset.sh
$ ./scripts/developer-tools/run-test.sh
- Read about how to start a local web server instance here
- Meilisearch service needs to be installed and working in the localhost environment. Read these instructions about it.
In a production environment remember to properly configure Messenger queue consumers handled by a Supervisor instance. Read these instructions.
Execute following link to be sure that php-cs-fixer will be applied automatically before every commit. Please, check https://github.com/FriendsOfPHP/PHP-CS-Fixer to install it globally (manual) in your system.
$ ln -s ../../scripts/githooks/pre-commit .git/hooks/pre-commit