From e2379755d60169d7882d0d73b1270c4071d57ec3 Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Thu, 13 Dec 2018 15:13:32 +0000 Subject: [PATCH] GitBook: [master] one page modified --- backend/installation/README.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/backend/installation/README.md b/backend/installation/README.md index b4a1b43f7..62cc649f3 100644 --- a/backend/installation/README.md +++ b/backend/installation/README.md @@ -41,14 +41,36 @@ npm install {% tabs %} {% tab title="Yarn" %} +#### Development + ```bash -yarn start +npm run dev +``` + +#### Production + +```bash +# you will need to build the app first (done while building the docker image) +npm run build +# run after build (dist folder must exist) +npm run startnpm run start ``` {% endtab %} {% tab title="NPM" %} +#### Development + ```bash -npm start +yarn run dev +``` + +#### Production + +```bash +# you will need to build the app first (done while building the docker image) +yarn run build +# run after build (dist folder must exist) +yarn run start ``` {% endtab %} {% endtabs %}