updated scripts

master
Shahan Nedadahandeh 3 months ago
parent 46e890637d
commit 3a17b64b34
  1. 4
      package.json
  2. 6
      readme.md
  3. 2
      run.sh
  4. 1
      stop.sh

@ -4,7 +4,9 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "npx forever start csccp.js",
"stop": "npx forever stop csccp.js",
"list": "npx forever list"
},
"author": "",
"license": "ISC",

@ -1,6 +1,6 @@
- Fill in .env-example, rename to .env.
- Update correct repo and image names in `csccp.js` script, and in the `deployTemplate.yaml`
- To start `./run.sh`
- To view logs, you can run `npx forever list` and then view the corresponding log file
- To stop, `./stop.sh`
- To start `npm start`
- To view logs, you can run `npm run list` and then view the corresponding log file
- To stop, `npm stop`

@ -1,2 +0,0 @@
npm install
npx forever start csccp.js

@ -1 +0,0 @@
npx forever stop csccp.js
Loading…
Cancel
Save