зеркало из https://github.com/mozilla/fxa.git
update commands and dependency
This commit is contained in:
Родитель
b5b16632c3
Коммит
3b57f97f6d
10
README.md
10
README.md
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче