1 |
|
2 | # Running Igo in Production
|
3 |
|
4 | - Igo dev dependencies are packaged in a separate module [igo-dev](https://github.com/arnaudm/igo-dev)
|
5 | - Production configuration is loaded separately
|
6 | - Runtime errors are caught and can be sent by email to the admin
|
7 | - Igo logger uses [winston](https://github.com/winstonjs/winston) so you can log where you like (eg: [papertrailapp](https://github.com/kenperkins/winston-papertrail))
|
8 |
|
9 |
|
10 | To run your Igo application in production mode, run:
|
11 | ```bash
|
12 | export NODE_ENV=production
|
13 | npm install --production
|
14 | node app.js
|
15 | ```
|