Skip to content

davy-beauzil/p6-snowtricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projet 6 - Développez de A à Z le site communautaire SnowTricks

Ce projet a été réalisé dans le cadre de ma formation de développeur PHP/Symfony chez Openclassrooms.

Installation


Clone this project on your computer

git clone https://github.com/davy-beauzil/p6-snowtricks.git


Go to the project

cd /path/to/project


Make .env.local file at the root path and fill variables

DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7&charset=utf8mb4"
MAILER_DSN=
SCALEWAY_KEY=
SCALEWAY_SECRET=


Install Composer dependances

composer install


Install Yarn dependances and build

yarn install
yarn build


Make database

php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate


Fill database with fixtures

php bin/console doctrine:fixtures:load


Then, open 2 terminals and run these command in each one

# Messenger is used to send email in asynchrone
php bin/console messenger:consume async -vv

# To run the server
symfony serve


You can connect you with these identifiants

username : admin
password : admin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published