From 54a12a93b5d8621b26c003d25ef80c01293e45a7 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 27 Sep 2012 22:14:06 +0200 Subject: Adding in what used to be leap webapp demo we're merging repositories into one --- INSTALL.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 INSTALL.md (limited to 'INSTALL.md') 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. + -- cgit v1.2.3