summaryrefslogtreecommitdiff
path: root/Readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'Readme.md')
-rw-r--r--Readme.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md
index 771a1f2..d39b313 100644
--- a/Readme.md
+++ b/Readme.md
@@ -3,6 +3,7 @@
> "Pretty good"
> - Steve Jobs
+
## To run the demo:
* npm install
@@ -13,6 +14,7 @@ Server will be running on http://lvh.me:1337/
Admin area available on http://lvh.me:1337/admin/
+
## Config
To access the admin area, you need to set a username and password.
@@ -31,3 +33,21 @@ S3_SECRET=s3secret
S3_BUCKET=bucketname
```
+## Deploy
+
+Every OKCMS install is deployed with pm2.
+
+`pm2 start index.js --name "my-cms"`
+
+`pm2 logs`
+
+to see logs and
+
+`pm2 list`
+
+to see running processes and
+
+`npm bin`/pm2 show [id]
+
+for more process info.
+