aboutsummaryrefslogtreecommitdiffstats
path: root/put_in_db.sh
blob: 0d76e13aaa1c21eb8b886ba9a578a821dee36ad2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env sh

MONGOSH=mongosh

${MONGOSH} \
  --host 127.0.0.1 \
  --port 27117 \
  -u "$(cat ./mongo_secrets/mongo_user)" \
  -p "$(cat ./mongo_secrets/mongo_pass)" \
  -f put_in_db.js