From 0a0cdf1c9e3f3336d81e7beacfad1498dd79d1f3 Mon Sep 17 00:00:00 2001 From: Tchama Date: Sat, 1 Oct 2022 18:22:07 +0200 Subject: [PATCH] complete readme if install since 5_start_new-project --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index d5cded0..e81361b 100644 --- a/README.md +++ b/README.md @@ -84,3 +84,30 @@ $ yarn encore dev-server ## 10. c'est fait le site est disponible sur http://localhost:8000 + + +# Et si on part de 5_start_new-project + +``` +$ docker-compose build +$ docker-compose up -d +$ docker-compose exec -u 1000 php bash +``` + +dans le conteneur php : + +``` +$ composer install +$ bin/console doctrine:schema:create +``` + +et pour node : + +``` +$ bash docker-node.sh yarn install --force +$ bash docker-node.sh yarn encore dev-server +``` + + + +