Add .env file in root folder for blackfire credentials :
### --- DATABASE ----
POSTGRES_USER=plasuser
POSTGRES_PASSWORD=plassword
POSTGRES_DB=plasma
### --- BLACKFIRE ----
BLACKFIRE_CLIENT_ID=YOUR_BLACKFIRE_SERVER_ID
BLACKFIRE_CLIENT_TOKEN=YOUR_BLACKFIRE_SERVER_TOKEN
BLACKFIRE_SERVER_ID=YOUR_BLACKFIRE_CLIENT_ID
BLACKFIRE_SERVER_TOKEN=YOUR_BLACKFIRE_CLIENT_TOKEN
$ docker-compose up -d
to lunch docker containers/public/
folder$ composer install
to install depedencies$ php bin/console d:d:c
then $ php bin/console d:s:u --force
to create the database and populate it$ yarn install
to install yarn$ yarn encore dev
to compile js and scss$ php bin/console doctrine:fixtures:load
then yen
to lunch fixtures
Bonus : Lunch $ php bin/console d:d:d --force && php bin/console d:d:c && php bin/console d:s:u --force && yarn install && yarn encore dev && php bin/console d:f:l
to do all the job.$ php bin/console server:run
and go on http://127.0.0.1:8000admin@plasma.fr with the passord
admin123``