Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Specify NODE_ENV=production in documentation #242

Merged
merged 1 commit into from
Apr 16, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------------------

Expand Down Expand Up @@ -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
Expand Down