[mongod.conf] added

[package.json] add script "mongod"
This commit is contained in:
Luk Lu
2019-09-24 02:48:05 +08:00
parent 99202f110b
commit 7a36b7dfa8
3 changed files with 28 additions and 5 deletions

View File

@@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "node --inspect-brk ./"
"dev": "node --inspect-brk ./",
"mongod": "/mongodb/bin/mongod -f /mongodb/mongodb.conf --logpath /data/log/mongo.log"
},
"author": "Nova.xu",
"license": "ISC",