Skip to content

The 6th project of OpenClassrooms PHP/Symfony Web Application Developer training - Snowtricks, Community website for snowboard fans - Developed in PHP/Symfony

Notifications You must be signed in to change notification settings

marclassort/Snowtricks

Repository files navigation

Snowtricks - Marc Lassort

This website is the 6th project of the OpenClassrooms PHP/Symfony Web Developer training.
It is a community website project about snowboard tricks which has been developed with Symfony.

How to install the website

Pre-Requisites

  • Database: MySQL
  • PHP version: >=8.0.8
  • Softwares:
  • NPM: npm install
  • Composer: composer install

Installation

  1. Download or clone the GitHub repository.
  2. Run composer install. (It is possible that some bundles do not have the right version. In that case, run composer update.)
  3. Make the following configuration settings.

Database configuration

To set up your database, edit your .env as such:

DATABASE_URL="mysql://root:[email protected]:8889/snowtricks?serverVersion=5.7.34"

Then, you can create your database as running the following command lines:

symfony console doctrine:database:create symfony console doctrine:fixtures: load

Mail configuration

To set up mailing, edit your .env as such:

MAILER_DSN="smtp://[email protected]:[email protected]:myport"

Symfony packages

  • Mailer: manages emails
  • Twig: our template engine

Run a local web server

You can execute this command line to run a local web server: symfony serve -d

NOW you can run the site! When the site is run, you can log using the following login and password:

  • Login: fonctionnaire
  • Password: OpenClassrooms

Code checking

About

The 6th project of OpenClassrooms PHP/Symfony Web Application Developer training - Snowtricks, Community website for snowboard fans - Developed in PHP/Symfony

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published