Skip to content

Projet 6 de ma formation OpenClassrooms "Développeur PHP/Symfony", un site de snowboard communautaire fait avec Symfony 5.

Notifications You must be signed in to change notification settings

Nayte91/Snowtricks

 
 

Repository files navigation

#Project n°6 : Snowtricks Codacy Badge ##How to install

  1. Start by composer to populate vendor/.
composer install
  1. Create a carbon copy of ".env" named ".env.local".
cp .env .env.local
  1. Modify your new ".env.local" in order to set your DB & SMTP.
    • DB : I suggest you to uncomment the sqlite line.
    • SMTP : If you don't have a proper one, you can't use the "retrieve password" functions, that's all.
  2. Create database easily.
php bin/console doctrine:database:create
  1. Create Structure on database easily.
php bin/console doctrine:schema:create
  1. Import figures' dataset.
php bin/console doctrine:fixtures:load
  1. This install CKeditor to help you format your text on edition.
php bin/console ckeditor:install
  1. And this import the last part of js.
php bin/console assets:install public
  1. Yarn Install Javascripts dependencies
docker run --rm -it -v $PWD:/app -w /app node yarn install
  1. build JS
docker run --rm -it -v $PWD:/app -w /app node yarn build

Enjoy by launching your PHP server !

##Few choices for serving page

  • Have an installed server on your computer (try laragon)
  • with symfony CLI, run a "symfony serve -d" command.
  • With raw PHP, run a "php -S 127.0.0.1:8000 -t public/" command.

##To use the website ?

Simply create an account with "sign-in" menu, or use the built-in account :

  • username : usertest
  • password : azerty

Julien "Nayte" Robic.

About

Projet 6 de ma formation OpenClassrooms "Développeur PHP/Symfony", un site de snowboard communautaire fait avec Symfony 5.

Resources

Stars

Watchers

Forks

Languages

  • PHP 69.3%
  • Twig 16.5%
  • JavaScript 10.5%
  • CSS 2.0%
  • Shell 1.3%
  • Dockerfile 0.4%