upd README about compile front

This commit is contained in:
nobohan 2021-08-24 13:50:17 +02:00
parent 665cde961d
commit 4876da0087
1 changed files with 10 additions and 0 deletions

View File

@ -123,6 +123,16 @@ docker-compose exec citizen-front bash
root@9c0fea7720a0:/home/appuser/citizen/frontend# npm run ng serve -- --host 0.0.0.0 --port 4200 --configuration=fr --poll 2000 root@9c0fea7720a0:/home/appuser/citizen/frontend# npm run ng serve -- --host 0.0.0.0 --port 4200 --configuration=fr --poll 2000
``` ```
But note that for persistently-built frontend files, you must run:
```bash
docker-compose exec citizen-front bash
root@9c0fea7720a0:/home/appuser/citizen/frontend# npm run build:i18n-ssr
```
or `npm run build:fr` for speeding up.
## Deploiement sur un serveur distant ## Deploiement sur un serveur distant