diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-11-13 17:26:00 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-11-13 17:26:00 +0000 |
commit | 8fae8f38c2c95ed99cd16fc450519915193ae895 (patch) | |
tree | 5a314332f8cc08d7e2d98e408f632a89b42829d4 | |
parent | 5347a8ddc2001ead97e426523b4b03bd797591fb (diff) | |
download | boymoder.blog-8fae8f38c2c95ed99cd16fc450519915193ae895.tar.gz boymoder.blog-8fae8f38c2c95ed99cd16fc450519915193ae895.zip |
Added new script, added two images
-rwxr-xr-x | docker-compose.yml | 1 | ||||
-rwxr-xr-x | scripts/new.md | 9 | ||||
-rwxr-xr-x | static/images/9400t_cooler.jpg | bin | 3158032 -> 4997396 bytes | |||
-rwxr-xr-x | static/images/fstab.png | bin | 0 -> 88618 bytes | |||
-rwxr-xr-x | static/images/theNVMEVault.png | bin | 0 -> 51977 bytes |
5 files changed, 10 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index d881761..1e6d0e1 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,7 @@ services: - db-network external_links: - mariadb:mysql + restart: unless-stopped networks: db-network: diff --git a/scripts/new.md b/scripts/new.md new file mode 100755 index 0000000..034480a --- /dev/null +++ b/scripts/new.md @@ -0,0 +1,9 @@ +#!/bin/bash + +echo -n "Input blog post title: " +read title + +echo -n "Input blog post category: " +read category + +sudo docker run -it --entrypoint python3 -v "$(pwd)/edaweb.conf":/app/edaweb.conf -v "$(pwd)/$1":/app/$1 --link mariadb:mysql --rm jwansek/edaweb /app/parser.py save -m /app/$1 -u root -c $category -t $title diff --git a/static/images/9400t_cooler.jpg b/static/images/9400t_cooler.jpg Binary files differindex 62b4fa9..dcfaf27 100755 --- a/static/images/9400t_cooler.jpg +++ b/static/images/9400t_cooler.jpg diff --git a/static/images/fstab.png b/static/images/fstab.png Binary files differnew file mode 100755 index 0000000..6acaa83 --- /dev/null +++ b/static/images/fstab.png diff --git a/static/images/theNVMEVault.png b/static/images/theNVMEVault.png Binary files differnew file mode 100755 index 0000000..2cf31d7 --- /dev/null +++ b/static/images/theNVMEVault.png |