Project number 6 of OpenClassrroms "Developpeur d'application PHP / Symfony" cursus
The objective of this project is to create a community site about snow tricks using the Symfony framework without using an existing Bundle
Preview example : http://snowtricks.oodie.fr
git clone https://github.com/sebastien-chomy/oc_snowtricks.git my_project
from /my_project/
composer install
Before you start using Composer, you must first install it on your system.
https://getcomposer.org/
From /my_project/
yarn install
Before you start using Yarn, you must first install it on your system. https://yarnpkg.com/fr/docs/install
From /my_project/
php bin/console doctrine:database:create
From /my_project/
php bin/console doctrine:schema:create
OR
php bin/console doctrine:schema:update --force
From /my_project/
php bin/console doctrine:fixtures:load
From /my_project/
php bin/console cache:clear --env=prod
From /my_project/
PHP -S localhost:8080
and from your browser Production version
http://localhost:8080/web/app.php
OR Development version
http://localhost:8080/web/app_dev.php
To access the application's various features
User | login | Password |
---|---|---|
Author of comments | author | 12345 |
Blogger | blogger | 12345 |
Administrator | admin | 12345 |