kdi / dotfiles

Local configuration files
http://kdi.co
1 stars 0 forks source link

Set Node.js Environment #18

Open tracend opened 11 years ago

tracend commented 11 years ago

Of course you can setup the node environment from the console as such:

export NODE_ENV=production

Look into setting this up universally, as per example

http://www.hacksparrow.com/running-express-js-in-production-mode.html