summaryrefslogtreecommitdiff
path: root/DEPLOY.md
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-10-07 15:06:16 +0200
committerAzul <azul@leap.se>2012-10-07 15:06:16 +0200
commit6ae43acde6cd43c6383cd47e00f978ed339ea991 (patch)
tree66024f1e1ab1b3fc56236fa12fb0108e866f4b2c /DEPLOY.md
parent439e27ef2792a03e5e50f8b9c607fca512cb1452 (diff)
added basic documentation
Diffstat (limited to 'DEPLOY.md')
-rw-r--r--DEPLOY.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/DEPLOY.md b/DEPLOY.md
new file mode 100644
index 0000000..49d9fed
--- /dev/null
+++ b/DEPLOY.md
@@ -0,0 +1,30 @@
+# Deployment #
+
+These instructions are targeting a Debian GNU/Linux system. You might need to change the commands to match your own needs.
+
+## Server Preperation ##
+
+### Dependencies ##
+
+The following packages need to be installed:
+
+* git
+* ruby1.8
+* rubygems1.8
+* couchdb (if you want to use a local couch)
+
+### Setup Capistrano ###
+
+We use capistrano to deploy.
+We ship an example deploy.rb in config/deploy.rb.example. Edit it to match your needs.
+
+run '''cap deploy:setup''' to create the directory structure.
+
+run '''cap deploy''' to deploy to the server.
+
+## Customized Files ##
+
+Please make sure your deploy includes the following files:
+
+* config/cert
+* public/config/provider.json