Application by:
- Paul Piazza
- Nathan Finance
- Nadine Fischer
- Jules Debeaumont
- Roja Gahfarri
- Clone the project
- Do a
composer install
- Log as admin on your localhost/phpmyadmin
- Make a new user for the Symfony4 access
- Copy the
.envfile - Paste and rename the second one to
.env.localat / - Add
.env.localto.gitignorefile - In the
.env.local:
These settings are suggestions, put whatever you want :
User: ProjetB
Password: iutinfo
- Once done, edit the
.env.localyou made - Make sure the database access looks like the following one:
DATABASE_URL="mysql://ProjetB:iutinfo@127.0.0.1:3306/ProjetB?serverVersion=5.7"
This will delete the database if there's one, create a new one depending on the actual entities of the project, apply migrations and load all fixtures.
composer reset
Control the code with CS-fixer :
vendor/bin/php-cs-fixer fix --dry-run
Validate code with CS-Fixer :
vendor/bin/php-cs-fixer fix