summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2012-09-27 22:14:06 +0200
committerAzul <azul@riseup.net>2012-09-27 22:14:06 +0200
commit54a12a93b5d8621b26c003d25ef80c01293e45a7 (patch)
tree329c61e383f1c70e5230f4d6af78f17e67511191 /INSTALL.md
parent666cc6a4ef896f1a3f3210453bef14ccb6bda578 (diff)
Adding in what used to be leap webapp demo
we're merging repositories into one
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 0000000..ff7374e
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,31 @@
+Installation
+-------------
+
+
+### Requirements ###
+
+This file documents installing the webapp demo on a debian system. For other systems you might have to use other commands / packages.
+
+The webapp only depends on very basic ruby packages and installs the other requirements as gems for now. We use git for version controll and capistrano to deploy.
+
+#### Packages ####
+
+The following packages need to be installed:
+
+* git
+* ruby1.8
+* rubygems1.8
+* couchdb
+
+#### Gems ####
+
+We install most gems we depend upon through bundler. However the bundler gem needs to be installed and the '''bundle''' command needs to be available to the user used for deploy.
+
+### Setup Capistrano ###
+
+run capify in the source tree and edit config/deploy.rb to match your needs. We ship an example in config/deploy.rb.example.
+
+run '''cap deploy:setup''' to create the directory structure.
+
+run '''cap deploy''' to deploy to the server.
+