diff options
author | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-10 01:47:25 +0200 |
---|---|---|
committer | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-10 01:47:25 +0200 |
commit | 01459daa4d83f55813391f8225bb5a9aeb86fcea (patch) | |
tree | 2662f47a31474d6033614328c98f3529c73bd33d /package.json | |
parent | 0f0322c8cee67a2a45d3bffc3e4d0c5530ec7cd7 (diff) |
added pm2 for production running
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json index 4c410fc..be8a30a 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,10 @@ "license": "MIT", "dependencies": { "mastodon": "^1.1.1", - "pg": "^6.1.5" + "pg": "^6.1.5", + "pm2": "^2.4.4" + }, + "scripts": { + "start": "pm2 start index.js" } } |