This project was realized for my training with Openclassrooms.
- PHP 7.1.3 or higher
- copy repository
git clone [email protected]:jucarre/SnowTricks.git
composer install
- configure BDD connect on
.env
file - (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 : [email protected]
- Pass : root
- Role : User
- Email : [email protected]
- Pass : root
- Role : User with no content
- Email : [email protected]
- Pass : root
- Role : Admin