aboutsummaryrefslogtreecommitdiffhomepage
path: root/deploy.sh
diff options
context:
space:
mode:
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