aboutsummaryrefslogtreecommitdiffstats
path: root/put_in_db.sh
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-03-15 19:48:13 +0000
committerterminaldweller <devi@terminaldweller.com>2024-03-15 19:48:13 +0000
commit86f26aefb312cd24a08c9c773c96c50da429bb43 (patch)
tree2fa4a305fd42052759da4a18202e51f69f47a95b /put_in_db.sh
parentadded a new script to conevrt all md to asciidoc, rss feed now sends the enti... (diff)
downloadblog-86f26aefb312cd24a08c9c773c96c50da429bb43.tar.gz
blog-86f26aefb312cd24a08c9c773c96c50da429bb43.zip
tag grouppings, WIP
Diffstat (limited to '')
-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