diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..047d7bb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +backup/ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..047d7bb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +backup/ diff --git a/server_outage.html b/server_outage.html new file mode 100755 index 0000000..f6ca717 --- /dev/null +++ b/server_outage.html @@ -0,0 +1,17 @@ + + +
+ Synoikos +
+ + +

Server outage

+

+ This server is currently experiencing technical difficulties. A fix is in progress. +
+ We apologise for any inconvenience caused. +

+ the Administrator +

+ + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..047d7bb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +backup/ diff --git a/server_outage.html b/server_outage.html new file mode 100755 index 0000000..f6ca717 --- /dev/null +++ b/server_outage.html @@ -0,0 +1,17 @@ + + +
+ Synoikos +
+ + +

Server outage

+

+ This server is currently experiencing technical difficulties. A fix is in progress. +
+ We apologise for any inconvenience caused. +

+ the Administrator +

+ + diff --git a/update_website.sh b/update_website.sh old mode 100644 new mode 100755 index fb6c4fc..06d34bd --- a/update_website.sh +++ b/update_website.sh @@ -1,10 +1,11 @@ #!/bin/bash # Make the development version live. # (Only run this on the Synoikos server.) +# Note: requires root privileges. echo "Creating backup of current website." mkdir -p backup -cp -r /var/www/html backup +cp -r /var/www/html/* backup/ echo "Pushing development version to production." cp *.html *.css *.png *.svg *.jpg /var/www/html