This project is carried out as part of my course PHP / Symfony Application Developer at OpenClassroom.
- Composer
- PHP (^8.0)
- Apache
- MySQL
$ git clone
$ cd <project>
$ composer install
$ npm install
$ npm run build
In the project folder execute this command
$ cp .env .env.local
And then fill the DATABASE_URL variable
APP_ENV=dev
APP_SECRET=whatever
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7
MAILER_DSN=smtp://localhost
To create the database and all the tables execute this command :
$ php bin/console doctrine:database:create
You can use the db.sql file to populate your database
To run the development server execute this command :
$ symfony serve