complete readme if install since 5_start_new-project
This commit is contained in:
parent
0b55b83935
commit
0a0cdf1c9e
27
README.md
27
README.md
@ -84,3 +84,30 @@ $ yarn encore dev-server
|
|||||||
## 10. c'est fait
|
## 10. c'est fait
|
||||||
|
|
||||||
le site est disponible sur http://localhost:8000
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user