diff options
-rwxr-xr-x | scripts/export.sh | 2 | ||||
-rwxr-xr-x | scripts/new.md | 9 | ||||
-rwxr-xr-x | scripts/update.sh | 2 | ||||
-rw-r--r-- | static/images/catonlap.jpg | bin | 0 -> 68382 bytes | |||
-rw-r--r-- | static/images/chuddy.jpg | bin | 0 -> 189361 bytes | |||
-rw-r--r-- | static/images/graduation.jpg | bin | 0 -> 290228 bytes | |||
-rw-r--r-- | static/images/stolenvalour.jpg | bin | 0 -> 234621 bytes |
7 files changed, 2 insertions, 11 deletions
diff --git a/scripts/export.sh b/scripts/export.sh index 66b56e7..4c4af2c 100755 --- a/scripts/export.sh +++ b/scripts/export.sh @@ -9,4 +9,4 @@ read export_name echo "Exporting blog post " $id " to " $export_name touch $export_name -sudo docker run -it --entrypoint python3 -v "$(pwd)/edaweb.conf":/app/edaweb.conf -v "$(pwd)/$export_name":/app/$export_name --link mariadb:mysql --rm jwansek/edaweb /app/parser.py export -i $id -u root -o $export_name +sudo docker run -it --entrypoint python3 -v "$(pwd)/edaweb.conf":/app/edaweb.conf -v "$(pwd)/$export_name":/app/$export_name --network mariadb --rm jwansek/edaweb /app/parser.py export -i $id -u root -o $export_name diff --git a/scripts/new.md b/scripts/new.md deleted file mode 100755 index 034480a..0000000 --- a/scripts/new.md +++ /dev/null @@ -1,9 +0,0 @@ -#!/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/scripts/update.sh b/scripts/update.sh index 9734089..5694e3a 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -3,4 +3,4 @@ echo -n "Input blog post ID to update: " read id -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 update -i $id -u root -m $1 +sudo docker run -it --entrypoint python3 -v "$(pwd)/edaweb.conf":/app/edaweb.conf -v "$(pwd)/$1":/app/$1 --network mariadb --rm jwansek/edaweb /app/parser.py update -i $id -u root -m $1 diff --git a/static/images/catonlap.jpg b/static/images/catonlap.jpg Binary files differnew file mode 100644 index 0000000..37e526b --- /dev/null +++ b/static/images/catonlap.jpg diff --git a/static/images/chuddy.jpg b/static/images/chuddy.jpg Binary files differnew file mode 100644 index 0000000..813543a --- /dev/null +++ b/static/images/chuddy.jpg diff --git a/static/images/graduation.jpg b/static/images/graduation.jpg Binary files differnew file mode 100644 index 0000000..89bafd7 --- /dev/null +++ b/static/images/graduation.jpg diff --git a/static/images/stolenvalour.jpg b/static/images/stolenvalour.jpg Binary files differnew file mode 100644 index 0000000..d666623 --- /dev/null +++ b/static/images/stolenvalour.jpg |