diff --git a/README.md b/README.md index b1c9cfa48..f51d830a6 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,12 @@ Lastly, start the application with: $ node app ``` +If you want a production environment: + +```sh +$ NODE_ENV=production node app +``` + Upgrading From a 2.0 Install ---------------------------- @@ -125,6 +131,8 @@ $ node monitor & $ node app ``` +Don't forget to set `NODE_ENV=production` if you want to run the app in production environment. + You can also run the monitor in a different server. This second server must be able to reach the API of the webapp server: set the `monitor.apiUrl` setting accordingly in the `production.yaml` file of the monitor server. Monitoring From Various Locations