docker-compose up -d
symfony server:start -d
Website https://localhost:8000
Database root:root@localhost:3307
npm install
Then run Tailwind with Webpack Encore
npm run watch
php bin/console messenger:consume async
CS-Fixer php vendor/bin/php-cs-fixer fix
Psalm ./vendor/bin/psalm
, if needed with --no-cache
TwigCS php vendor/bin/twigcs templates
php bin/console araise:search:populate
Access the logs on platform.sh with
symfony log app --tail
To run the test suite on your local machine you need to do the following setup:
- Create the file
.env.test.local
and define theDATABASE_URL
, similar to your.env.local
. Use a different database name to keep tests separate from your lokal working environment. php bin/console --env=test doctrine:database:create
php bin/console --env=test doctrine:schema:create
Once you have done that, you can execute the test suite with the command below:
php bin/phpunit