Ce projet a été réalisé dans le cadre de ma formation de développeur PHP/Symfony chez Openclassrooms.
Clone this project on your computer
git clone https://github.com/davy-beauzil/p6-snowtricks.git
Go to the project
cd /path/to/project
Make .env.local
file at the root path and fill variables
DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7&charset=utf8mb4"
MAILER_DSN=
SCALEWAY_KEY=
SCALEWAY_SECRET=
Install Composer dependances
composer install
Install Yarn dependances and build
yarn install
yarn build
Make database
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
Fill database with fixtures
php bin/console doctrine:fixtures:load
Then, open 2 terminals and run these command in each one
# Messenger is used to send email in asynchrone
php bin/console messenger:consume async -vv
# To run the server
symfony serve
You can connect you with these identifiants
username : admin
password : admin