Skip to content

Latest commit

 

History

History
59 lines (52 loc) · 1.3 KB

README.md

File metadata and controls

59 lines (52 loc) · 1.3 KB

Codacy Badge

About Snowtricks

Openclassroom's project number 6 is to make a snowboard tricks community site, coded only in PHP with the Symfony framework

Requirements

To launch the project, you need Docker : https://docs.docker.com/get-docker/

Get the repository

Clone repository

git clone https://github.com/MytiX/SnowTricks

Start Application

Go to the folder where the project is located :

cd {project dir}/php/

Give execution permission on sh script :

chmod +x entrypoint.sh  install_composer.sh

Return on current directory :

cd ..

Start all container :

docker-compose up -d

Create database :

docker-compose exec -u www-data www php bin/console doctrine:database:create

Install migration :

docker-compose exec -u www-data www php bin/console doctrine:migrations:migrate 

Install fixtures :

docker-compose exec -u www-data www php bin/console doctrine:fixtures:load

Localhost

App :

http://localhost:8741

phpMyAdmin :

http://localhost:8080/index.php

MailDev :

http://localhost:8081