summaryrefslogtreecommitdiff
path: root/INSTALL.md
blob: ff7374e8368d7f8f3377f30cc7393294eaa47b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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.