From b5d44c0ddd45a4fb9f775c34d61396fab6eb44cc Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 2 Sep 2016 13:28:08 -0400 Subject: merge deployment notes --- Readme.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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. + -- cgit v1.2.3-70-g09d2