Demos run on Node.js. See package to run demos with prefetched runtime dependencies (only Node.js is required).
Install npm dependencies:
$ npm install
Install Bower dependencies:
$ bower install
Start Node.js server:
$ node app.js
Application will be available at http://localhost:3003
Please use config.js
or environment variables for configuration (DT Gateway, Redis, MongoDB, etc.). See dist_start.sh
and dev_start.sh
.
Applications are automatically discovered by name (to show stats like “Events/sec”). See the following settings in config.js
:
Running Node.js as a daemon with forever
$ npm install forever -g $ forever start app.js $ forever list $ forever stop <uid>
Running Node.js on different port
$ PORT=3001 node app.js
Express Node.js web framework
node_redis Node.js Redis client
forever Node.js daemon/continuous running/fault tolerance