From 4876da0087daee5d92d6c4bb6eab9d15ce028f1f Mon Sep 17 00:00:00 2001 From: nobohan Date: Tue, 24 Aug 2021 13:50:17 +0200 Subject: [PATCH] upd README about compile front --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index d972bbc..50243fb 100644 --- a/README.md +++ b/README.md @@ -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 ``` +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