merge realtime/package.json into top level package.json

This commit is contained in:
Devin Howard 2016-09-22 16:32:10 +08:00
parent c0f63abc59
commit 0a109895f7
4 changed files with 3 additions and 15 deletions

View file

@ -87,8 +87,6 @@ server to see what problems show up:
sudo npm install -g forever
(crontab -u metamaps -l 2>/dev/null; echo "@reboot $(which forever) --append -l /home/metamaps/logs/forever.realtime.log start /home/metamaps/metamaps/realtime/realtime-server.js") | crontab -u metamaps -
cd /home/metamaps/metamaps/realtime
npm install
mkdir -p /home/metamaps/logs
forever --append -l /home/metamaps/logs/forever.realtime.log \
start /home/metamaps/metamaps/realtime/realtime-server.js

View file

@ -29,9 +29,7 @@ Now that you have the code, run these commands:
rake perms:fix
passenger-config restart-app .
cd realtime
npm install
forever list #find the uid, e.g. xQKv
forever list #find the uid of the realtime server, e.g. xQKv
forever restart xQKv
sudo service metamaps_delayed_job restart

View file

@ -27,9 +27,11 @@
"chai": "^3.5.0",
"jquery": "1.12.1",
"mocha": "^3.0.2",
"node-uuid": "1.2.0",
"react": "^15.3.0",
"react-dom": "^15.3.0",
"requirejs": "^2.1.1",
"socket.io": "0.9.12",
"underscore": "^1.4.4",
"webpack": "^1.13.1"
}

View file

@ -1,10 +0,0 @@
{
"name": "RoR-real-time",
"description": "providing real-time sychronization for ruby on rails",
"version": "0.0.1",
"private": true,
"dependencies": {
"socket.io": "0.9.12",
"node-uuid": "1.2.0"
}
}