summaryrefslogtreecommitdiff
path: root/site/DEPLOY
diff options
context:
space:
mode:
Diffstat (limited to 'site/DEPLOY')
-rw-r--r--site/DEPLOY21
1 files changed, 21 insertions, 0 deletions
diff --git a/site/DEPLOY b/site/DEPLOY
new file mode 100644
index 0000000..cedf761
--- /dev/null
+++ b/site/DEPLOY
@@ -0,0 +1,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