commit d5739138a32aa659e6bfda24f60d081213d59ce3 Author: Radar231 Date: Sat Jun 5 08:34:35 2021 -0400 initial checkin diff --git a/build_static_website.sh b/build_static_website.sh new file mode 100755 index 0000000..e985ba7 --- /dev/null +++ b/build_static_website.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +cd /mnt/pi4-4_storage/wikis/website-wiki/mywiki/ +sudo tiddlywiki --rendertiddlers [!is[system]!tag[Draft]] $:/rdr231/templates/static.tiddler.html static text/plain --rendertiddler $:/rdr231/templates/static.template.css static/static.css text/plain +sudo rm -rf /mnt/pi4-4_storage/delfax/website/* +sudo cp -r output/static/* /mnt/pi4-4_storage/delfax/website/ + diff --git a/deploy_static_website.sh b/deploy_static_website.sh new file mode 100755 index 0000000..fa848cd --- /dev/null +++ b/deploy_static_website.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +ssh -p 50022 root@fubar.delfax.net rm -rf /var/www/html/rdr231/* +scp -P 50022 -r /mnt/pi4-4_storage/delfax/website/* root@fubar.delfax.net:/var/www/html/rdr231/ +