/application-to-test

Pour ce chapitre, vous allez tester une application dans laquelle j'ai implémenté une authentification avec Github. Eh oui, rassurez-vous, je vous fournis l'application fonctionnelle. Le but est de tester le code après tout !

food-diary

This application integrates an authentication with Github. You first need to create an OAuth application on the Github website : https://github.com/settings/applications/new.

Creation OAuth app

OAuth app created

Once you created the OAuth application, you need to get the client ID and client secret to put those information in the app/config/parameters.yml file.

Installation

First of all you need to run the $ composer install.

This application requires a MySQL database. You need to configure the following parameters in the app/config/parameters.yml file :

 database_host
 database_port
 database_name
 database_user
 database_password

Then run the following commands in your favorite command line tool :

$ bin/console doctrine:database:create $ bin/console doctrine:schema:create

application-to-test