From ab0b2b63c85bca50fc62778078e2d0a6e7009857 Mon Sep 17 00:00:00 2001 From: Ivan Alglave <64541968+hihubbIe@users.noreply.github.com> Date: Sat, 10 Dec 2022 20:07:20 +0100 Subject: [PATCH] Update README.md --- README.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ba662d1..6962c7f 100644 --- a/README.md +++ b/README.md @@ -54,23 +54,16 @@ In the event you wish to run mongo on another port or use another collection, ma ## Running the app -For development purposes, we use : - +To start the app in development mode, use : ```bash -$ nest start --watch +$ npm run start:dev ``` -But you may use, according to what you need : - +To start the app in production mode, use : ```bash -# development -$ npm run start - -# watch mode -$ npm run start:dev - -# production mode $ npm run start:prod ``` +Any other command used to start might have *undefined behaviour* at runtime, as above commands may set environment variables required at runtime. + Check the [license](LICENSE). -- GitLab