metamaps--metamaps/realtime/README.md

18 lines
568 B
Markdown
Raw Permalink Normal View History

2016-02-03 13:38:41 +00:00
## Node.js realtime server
To run the server, you need to install the dependencies and run the server.
Please ensure you have followed the OS-specific instructions in doc/ to
install NodeJS. Once you have node, then you can proceed to install the
node packages for the realtime server:
npm install #creates node_modules directory
2016-10-22 14:59:43 +00:00
node realtime/realtime-server.js
2016-02-03 13:38:41 +00:00
That's it!
To run the server as a daemon that will be re-run if it crashes, you can
use the forever node package.
sudo npm install -g forever
2016-10-22 14:59:43 +00:00
forever start realtime/realtime-server.js