This project was realized for my training with Openclassrooms.
- PHP 7.1.3 or higher
- copy repository
git clone git@github.com:jucarre/SnowTricks.git composer install- configure BDD connect on
.envfile - (local) start the PHP server
php bin/console server:start - (optional) configure the SMTP if you want to activate the registration in
config/packages/swiftmailer.yaml - Create database
php bin/console doctrine:database:create - Migrate table on database
php bin/console doctrine:migrations:migrate - (for test) load fixtures into the database
php bin/console doctrine:fixtures:load - Account fixtures:
- Role : Admin
- Email : superadmin@admin.fr
- Pass : root
- Role : User
- Email : user@user.fr
- Pass : root
- Role : User with no content
- Email : bob@bob.fr
- Pass : root
- Role : Admin