added deploy instructions
authorelijah <elijah@riseup.net>
Thu, 19 May 2016 19:19:56 +0000 (12:19 -0700)
committerelijah <elijah@riseup.net>
Thu, 19 May 2016 19:19:56 +0000 (12:19 -0700)
DEPLOY.md [new file with mode: 0644]

diff --git a/DEPLOY.md b/DEPLOY.md
new file mode 100644 (file)
index 0000000..4763b3d
--- /dev/null
+++ b/DEPLOY.md
@@ -0,0 +1,20 @@
+The fully rendered pages must be committed to this repo for them to show up.
+This means you need to make sure to run a 'amber recompile' before you commit
+any change.
+
+To deploy dl_bitmask_net to dl.bitmask.net:
+
+    git clone ssh://gitolite@leap.se/dl_bitmask_net
+    cd dl_bitmask_net
+    amber recompile
+    git commit ...
+    git push
+
+The post commit hooks should update dl.bitmask.net automatically, but if they
+do not:
+
+    ssh salmon.leap.se -l root
+    cd /var/www/dl_bitmask_net
+    su www-data
+    git checkout master
+    git pull