diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-03-15 19:48:13 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-03-15 19:48:13 +0000 |
commit | 86f26aefb312cd24a08c9c773c96c50da429bb43 (patch) | |
tree | 2fa4a305fd42052759da4a18202e51f69f47a95b /put_in_db.sh | |
parent | added a new script to conevrt all md to asciidoc, rss feed now sends the enti... (diff) | |
download | blog-86f26aefb312cd24a08c9c773c96c50da429bb43.tar.gz blog-86f26aefb312cd24a08c9c773c96c50da429bb43.zip |
tag grouppings, WIP
Diffstat (limited to 'put_in_db.sh')
-rwxr-xr-x | put_in_db.sh | 10 |
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 |