Skip to content

Project 6 of Openclassrooms php symfony training courses. Target : Creation of a community website with Symfony

Notifications You must be signed in to change notification settings

iBast/BastienMunck_P6_20210707

Repository files navigation

BastienMunck_P6_20210707

Codacy Badge

Project 6 of Openclassrooms php symfony training courses

Project

The aim of the project is to create a community web site on snowboard tricks. Users can create and edit there own tricks and every verified user can use the comment section

Installation

  • Clone the repository with git clone
git clone https://github.com/iBast/BastienMunck_P6_20210707.git
  • Install the dependencies with
composer install
  • create a .env file or set your hosting environnement with :
APP_ENV=prod
APP_SECRET= $$ your secret $$
MAILER_DSN=smtp://user:password@host:port
DATABASE_URL="mysql://user:password@host/db?serverVersion=X.X.XX"
  • install the database
    • you can use the sql file in the repository

    • or you can install the db with doctrine

      if the database does not exist, create it with the following command in the project directory

php bin/console doctrine:database:create

then

php bin/console doctrine:migration:migrate
  • Install fixtures to have first contents and the admin account
php bin/console doctrine:fixtures:load

About

Project 6 of Openclassrooms php symfony training courses. Target : Creation of a community website with Symfony

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published