aboutsummaryrefslogtreecommitdiffstats
path: root/put_in_db.sh
diff options
context:
space:
mode:
Diffstat (limited to 'put_in_db.sh')
-rwxr-xr-xput_in_db.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/put_in_db.sh b/put_in_db.sh
new file mode 100755
index 0000000..0d76e13
--- /dev/null
+++ b/put_in_db.sh
@@ -0,0 +1,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