remove mongodb folder
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -5,5 +5,3 @@ package-lock.json
|
|||||||
configSec.js
|
configSec.js
|
||||||
*test.js
|
*test.js
|
||||||
build
|
build
|
||||||
mongodb/dump
|
|
||||||
mongodb/mongo.log
|
|
||||||
|
|||||||
@@ -7,5 +7,5 @@ security:
|
|||||||
javascriptEnabled: true
|
javascriptEnabled: true
|
||||||
authorization: enabled
|
authorization: enabled
|
||||||
systemLog:
|
systemLog:
|
||||||
path: /data/log/mongo.log #日志路径。
|
path: ~/mongodb/log/mongod.log #日志路径。
|
||||||
destination: file #日志输出方式。file/syslog,如果是file,需指定path,默认是输出到标准输出流中
|
destination: file #日志输出方式。file/syslog,如果是file,需指定path,默认是输出到标准输出流中
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"dev": "node --inspect-brk ./",
|
"dev": "node --inspect-brk ./",
|
||||||
"mongod": "../mongodb/bin/mongod -f ./mongod.conf --logpath ../mongodb/log/mongod.log",
|
"mongod": "~/mongodb/bin/mongod -f ./mongod.conf --logpath ~/mongodb/log/mongod.log",
|
||||||
"mongod-org": "mongod -f ./mongod.conf --logpath ../mongodb/log/mongod.log",
|
"mongodump": "~/mongodb/bin/mongodump -h localhost:6842 -d vic -o ~/mongodb/backup",
|
||||||
"mongodump": "../mongodb/bin/mongodump -h localhost:6842 -d vic -o ../mongodb/backup",
|
"mongorestore": "~/mongodb/bin/mongorestore -h localhost:6842 -d vic -o ~/mongodb/backup/vic",
|
||||||
"daemon.pm2": "cross-env NODE_ENV=production pm2 start index.js --name vic.server"
|
"daemon.pm2": "cross-env NODE_ENV=production pm2 start index.js --name vic.server"
|
||||||
},
|
},
|
||||||
"author": "Nova.xu",
|
"author": "Nova.xu",
|
||||||
|
|||||||
Reference in New Issue
Block a user