initial checkin

This commit is contained in:
Radar231 2021-06-05 08:34:35 -04:00
commit d5739138a3
2 changed files with 12 additions and 0 deletions

7
build_static_website.sh Executable file
View File

@ -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/

5
deploy_static_website.sh Executable file
View File

@ -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/