update commands and dependency

This commit is contained in:
Vlad Filippov 2014-12-11 18:34:57 -05:00
Родитель b5b16632c3
Коммит 3b57f97f6d
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -13,11 +13,11 @@ git clone https://github.com/vladikoff/fxa-local-dev.git && cd fxa-local-dev &&
After installation completes you can visit [127.0.0.1:3030](http://127.0.0.1:3030/) and use the [PM2 tool](https://github.com/Unitech/PM2#main-features) to start, stop and read server logs. Most common commands are as follows: After installation completes you can visit [127.0.0.1:3030](http://127.0.0.1:3030/) and use the [PM2 tool](https://github.com/Unitech/PM2#main-features) to start, stop and read server logs. Most common commands are as follows:
- `pm2 start servers.json` **- start all servers.** (warning: running this multiple times will spawn more of the same servers). - `./pm2 start servers.json` **- start all servers.** (WARNING: running this multiple times will spawn more of the same servers).
- `pm2 kill` **- stop all servers.** - `./pm2 kill` **- stop all servers.**
- `pm2 status` - display running servers. - `./pm2 status` - display running servers.
- `pm2 logs` - logs for all servers (note: this must be used to verify accounts). - `./pm2 logs` - logs for all servers (note: this must be used to verify accounts).
- `pm2 logs 1` - display logs for process `1`. - `./pm2 logs 1` - display logs for process `1`.
- More commands on the [PM2 Readme](https://github.com/Unitech/PM2#main-features). - More commands on the [PM2 Readme](https://github.com/Unitech/PM2#main-features).
### Dependencies ### Dependencies

Просмотреть файл

@ -8,6 +8,6 @@
"author": "", "author": "",
"license": "MPL", "license": "MPL",
"dependencies": { "dependencies": {
"pm2": "^0.11.1" "pm2": "git://github.com/Unitech/PM2#44a9be19cb3c2a28ba2c93092844816c50d31912"
} }
} }