updated scripts
This commit is contained in:
parent
46e890637d
commit
3a17b64b34
|
@ -4,7 +4,9 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"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": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
- Fill in .env-example, rename to .env.
|
- Fill in .env-example, rename to .env.
|
||||||
- Update correct repo and image names in `csccp.js` script, and in the `deployTemplate.yaml`
|
- Update correct repo and image names in `csccp.js` script, and in the `deployTemplate.yaml`
|
||||||
- To start `./run.sh`
|
- To start `npm start`
|
||||||
- To view logs, you can run `npx forever list` and then view the corresponding log file
|
- To view logs, you can run `npm run list` and then view the corresponding log file
|
||||||
- To stop, `./stop.sh`
|
- To stop, `npm stop`
|
||||||
|
|
Loading…
Reference in New Issue