Closed hoatle closed 12 years ago
cloudfoundary: too complicated to deploy nodejs app
nodejitsu: can not have:
"scripts": { "test": "make test", "start": "make run" }
on package.json. It requires "start": "{file-name}.js" for node server startup. This cause problem that the application can not be compiled and run at: http://hoatle.jit.su/
there is a trick to make jitsu run on 'dev' mode. By default, jitsu sets NODE_ENV is 'production'.
public
from .gitignore, 'make install', commit and 'jitsu deploy'.jitsu env set NODE_ENV prod
jitsu apps restart
jitsu deploy
jitsu env set NODE_ENV dev
jitsu apps restart
Hosting list:
https://github.com/joyent/node/wiki/Node-Hosting