The easiest way to get started is to clone the repository:
# Get the project
git clone https://github.com/benakacha/cvtheque.gitcd cvtheque cp .env.dist .env
Open .env file and locate the database URL, then add your database credentials as shown here:
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
- Change db_user to YOUR_DATABASE_USERNAME
- Change db_password to YOUR_DATABASE_PASSWORD
- db_name to YOUR_DATABASE_NAME
- The database host by default is 127.0.0.1 and with a database port of 3306. You can leave this values as it is.
$ composer install
$ php bin/console doctrine:database:create $ php bin/console doctrine:schema:update --forcephp bin/console server:run