Skip to content

Node.js

Sébastien LUCAS edited this page Jan 29, 2015 · 13 revisions

Install and unistall node and its modules

On mac

It's better to install node with home brew

Node.js

$ echo export NODE_ENV=production >> ~/.bash_profile
$ source ~/.bash_profile
  • Start Forever in prod mode
    NODE_ENV=production forever start app.js

  • Start a server with grunt in a given environment
    NODE_ENV=development grunt

WIKI by Sébastien Lucas CEO & Funder or Bricks

Clone this wiki locally