This website is the 6th project of the OpenClassrooms PHP/Symfony Web Developer training.
It is a community website project about snowboard tricks which has been developed with Symfony.
- Database: MySQL
- PHP version: >=8.0.8
- Softwares:
- NPM:
npm install
- Composer:
composer install
- Download or clone the GitHub repository.
- Run
composer install
. (It is possible that some bundles do not have the right version. In that case, runcomposer update
.) - Make the following configuration settings.
To set up your database, edit your .env
as such:
DATABASE_URL="mysql://root:[email protected]:8889/snowtricks?serverVersion=5.7.34"
Then, you can create your database as running the following command lines:
symfony console doctrine:database:create
symfony console doctrine:fixtures: load
To set up mailing, edit your .env
as such:
MAILER_DSN="smtp://[email protected]:[email protected]:myport"
- Mailer: manages emails
- Twig: our template engine
You can execute this command line to run a local web server: symfony serve -d
NOW you can run the site! When the site is run, you can log using the following login and password:
- Login: fonctionnaire
- Password: OpenClassrooms