diff options
| -rw-r--r-- | package.json | 1 | ||||
| -rw-r--r-- | site/DEPLOY | 21 | ||||
| -rw-r--r-- | site/TODO | 2 |
3 files changed, 24 insertions, 0 deletions
diff --git a/package.json b/package.json index 4336556..a8a602f 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "express": "^4.12.3", "grunt-dentist": "^0.3.4", "object-assign": "^2.0.0", + "pm2": "^0.12.15", "q": "^1.2.0" }, "devDependencies": { 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 diff --git a/site/TODO b/site/TODO new file mode 100644 index 0000000..c519946 --- /dev/null +++ b/site/TODO @@ -0,0 +1,2 @@ +This really should be in its own repo +At very least, it should have its own package.json |
