Update install.sh

pull/891/head
dami 2 weeks ago
parent 6d30940920
commit 17931bb0ea
  1. 9
      plugins/mongodb/install.sh

@ -10,6 +10,15 @@ export PATH
# cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/mongodb/index.py start
# db.createUser({
# user: "demo",
# pwd: "123123",
# roles: [{role: "dbOwner", db: "demo"}]
# })
# db.auth("demo", "123123");
# /www/server/mongodb/bin/mongorestore -h localhost -d demo --dir /tmp/*.json
curPath=`pwd`
rootPath=$(dirname "$curPath")

Loading…
Cancel
Save