summaryrefslogtreecommitdiff
path: root/site/DEPLOY
blob: cedf76160a4115a5e50708111cdc0057b88292d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
To deploy
===

`npm bin`/pm2 start index.js

---

The `npm bin` bit resolves the path to the locally installed `pm2`
command. Could also use a global install.

`npm bin`/pm2 logs

to see logs and

`npm bin`/pm2 list

to see running processes and

`npm bin`/pm2 show [id]

for more process info