summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-10-11 12:53:10 +0200
committerAzul <azul@leap.se>2012-10-11 12:53:10 +0200
commit09003d3d2df7c250d3a0b55e83094e5e27094859 (patch)
tree90d2a851cd558652121182937a5ec8373722cab0 /INSTALL.md
parent118d9ab5c9f4d7a82b7cf24774ef12d3c221f8ef (diff)
parent33ef3d2ac9a03b06ff29f1367c69731a89f1dfc7 (diff)
Merge branch 'release-0.1.0' into develop
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md43
1 files changed, 28 insertions, 15 deletions
diff --git a/INSTALL.md b/INSTALL.md
index ff7374e..18d9c6d 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -1,31 +1,44 @@
-Installation
--------------
+# Installation #
+## Requirements ##
-### Requirements ###
+The webapp only depends on very basic ruby packages and installs the other requirements as gems through bundler.
-This file documents installing the webapp demo on a debian system. For other systems you might have to use other commands / packages.
+### 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:
+For now we are using ruby 1.8.7. The following packages need to be installed:
* git
* ruby1.8
* rubygems1.8
* couchdb
-#### Gems ####
+### Gems ###
+
+We install most gems we depend upon through [bundler](http://gembundler.com). However the bundler gem needs to be installed and the `bundle` command needs to be available to the user used for deploy.
+
+### Bundler ###
+
+Run `bundle install` to install all the required gems.
+
+## Setup ##
+
+### SRP submodule ###
+
+We currently use a git submodule to include srp-js. This will soon be replaced by a ruby gem. but for now you need to run
+
+```
+ git submodules init
+ git submodules update
+```
-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.
+### Cert Distribution ###
-### Setup Capistrano ###
+The Webapp can hand out certs for the EIP client. These certs are either picked from a pool in CouchDB or from a file. For now you can either run [Leap CA](http://github.com/leapcode/leap_ca) to fill the pool or you can put your certs file in config/cert.
-run capify in the source tree and edit config/deploy.rb to match your needs. We ship an example in config/deploy.rb.example.
+We also ship provider information through the webapp. For now please add your eip-service.json to the public/config directory.
-run '''cap deploy:setup''' to create the directory structure.
+## Running ##
-run '''cap deploy''' to deploy to the server.
+Run `rails server` or whatever rack server you prefer.