My OC is a local app (build with symfony) to help mentors.
- PHP 7.2.5 or higher
- SQL Database
- Composer
$ git clone git@github.com:XenoX/my-oc.git
# in project directory
$ composer install
$ cp .env .env.local
Go to .env.local
file and set :
DATABASE_URL # Generally change only db_user, db_password and db_name
OAUTH_OC_CLIENT_ID # On OC website (logged), type App.preferences.openclassrooms.api.anonymous.client_id on console
OAUTH_OC_CLIENT_SECRET # On OC website (logged), type App.preferences.openclassrooms.api.anonymous.client_secret on console
$ php bin/console doctrine:database:create
$ php bin/console doctrine:migrations:migrate
❗Symfony binary required
$ symfony server:start
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Don't forget to use Gitmoji in your commit name.
Please make sure to update tests as appropriate.