aboutsummaryrefslogtreecommitdiffhomepage
path: root/deploy.sh
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-03-18 09:11:24 +0000
committerSean Whitton <spwhitton@spwhitton.name>2015-03-18 09:11:24 +0000
commit7b4a0e10cf16e4669e87e13a499a84f49e5bc8cb (patch)
tree47547a0cf94ed45285f64c7b23b52a0f09b6902d /deploy.sh
parente48a6625884f89cde3ef81c63a77603572692c71 (diff)
downloadsariulclocks-7b4a0e10cf16e4669e87e13a499a84f49e5bc8cb.tar.gz
new form for end of class inc. password
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 7082375..3e858cc 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -3,9 +3,10 @@
# simple deploy script for demeter
cabal build
-cp -RL assets/* dist/build/sariulclocks.cgi/sariulclocks.cgi $HOME/html/
+cp -RL assets/* assets/.htaccess dist/build/sariulclocks.cgi/sariulclocks.cgi $HOME/html/
# TODO: run strip on binary
cp -RL ../schoolclock/sounds $HOME/html
mkdir -p $HOME/html/data
chmod 777 $HOME/html/data
# TODO: this script takes "devel" and "live" arguments to deploy live version or a copy for testing new code (into maybe http://spw.sdf.org/sariul-devel/)
+# TODO: also put script that resets clocks and deducts points at the end of the week into ~/local/bin ready to be cronned