This is the main site repository
1
stars
1
forks
source link
Installation
- Clone the project
- Create folder "translations"
- In folder "docker", copy paste .env.dist in .env
(cp .env.dist .env)
- Run
(cd docker && docker-compose up --build -d)
(You need to have Docker running)
- Run
composer install && npm install && npm run dev
Add database
- Run
docker exec -ti docker_php_1 bash
- Inside the container run :
php bin/console doctrine:migrations:migrate
- To load fixtures :
php bin/console doctrine:fixtures:load --append
Connect as admin
- If you've runned the fixtures you can login with
admin:admin
and access /admin
- If this is not the case and you just want to use your user : you can run from the container :
fos:user:promote <your_pseudo> ROLE_ADMIN