From 2db646563901b96437d46574e3c7c1d618930a81 Mon Sep 17 00:00:00 2001 From: Andrea Spacca Date: Sat, 17 Oct 2020 10:49:57 +0200 Subject: [PATCH] BASEPATH --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 294bc04..057d8e2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,12 +25,12 @@ If you're working on the frontend and can use mocked data rather than a real bac ``` cd webapp/frontend npm install -ng serve +ng serve --deploy-url="/web/" --base-href="/web/" ``` However, if you need to also run the backend, and use real data, you'll need to run the following command: ``` -cd webapp/frontend && ng build --watch --output-path=../../dist --deploy-url="/web/" --base-href="/web/" --prod +cd webapp/frontend && ng build --watch --output-path=../../dist --prod ``` > Note: if you do not add `--prod` flag, app will display mocked data for api calls.