Switch to production
Closed this issue · 1 comments
felixlberg commented
I would love to use timeoff-management-application with mysql in production
Unfortunately it is not documented anywhere how to change the mode of the application.
felixlberg commented
I found in lib/model/db/index.js
:
var env = process.env.NODE_ENV || "development";
so I need to start the application with:
NODE_ENV=production npm start
For everybody like mine who is struggling due its very limited documentation.