The Zozor's Blog is an application used a learning support for the Symfony 4 course available in OpenClassRooms platform. The entire application is based on the Symfony Demo Application, which is a reference application created to show how to develop Symfony applications following the recommended best practices.
- PHP 7.1.3 or higher;
- PDO-SQLite PHP extension enabled;
- and the usual Symfony application requirements.
Execute this command to install the project:
$ git clone https://github.com/OpenClassrooms-Student-Center/learn-symfony.git
$ cd learn-symfony
$ php bin/console do:sc:up --force
$ php bin/console do:fi:lo
There's no need to configure anything to run the application. Just execute this command to run the built-in web server and access the application in your browser at http://localhost:8000:
$ cd learn-symfony/
$ php bin/console server:run
Alternatively, you can configure a fully-featured web server like Nginx or Apache to run the application.
Execute this command to run tests:
$ cd learn-symfony/
$ ./vendor/bin/simple-phpunit