[ARVADOS] updated: 35ad32eeb8af45be308fad378a80786e613e3ef3

git at public.curoverse.com git at public.curoverse.com
Tue Mar 11 13:03:53 EDT 2014


Summary of changes:
 doc/Gemfile                                   |    2 +-
 doc/_config.yml                               |    2 +-
 doc/install/install-api-server.html.md.liquid |   59 +++++++++++-------------
 3 files changed, 29 insertions(+), 34 deletions(-)

       via  35ad32eeb8af45be308fad378a80786e613e3ef3 (commit)
       via  8eee8df8850c6e2cb7f531459a89a1ab6660a2ff (commit)
      from  a21938b325a5ff859d9992dbd3b034672139b0ab (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 35ad32eeb8af45be308fad378a80786e613e3ef3
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Mar 11 13:03:45 2014 -0400

    Fix left nav order in Install section.

diff --git a/doc/Gemfile b/doc/Gemfile
index 381b706..9ee5f58 100644
--- a/doc/Gemfile
+++ b/doc/Gemfile
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
 gem 'zenweb'
 gem 'liquid'
 gem 'RedCloth'
-gem 'colorize'
\ No newline at end of file
+gem 'colorize'
diff --git a/doc/_config.yml b/doc/_config.yml
index dbf6389..d035e2c 100644
--- a/doc/_config.yml
+++ b/doc/_config.yml
@@ -95,8 +95,8 @@ navbar:
       - admin/cheat_sheet.html.textile.liquid
   installguide:
     - Install:
-      - install/install-api-server.html.md.liquid
       - install/index.html.md.liquid
+      - install/install-api-server.html.md.liquid
       - install/install-workbench-app.html.md.liquid
       - install/client.html.textile.liquid
       - install/create-standard-objects.html.textile.liquid

commit 8eee8df8850c6e2cb7f531459a89a1ab6660a2ff
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Mar 11 13:02:48 2014 -0400

    Add api server package dependencies and update config instructions.

diff --git a/doc/install/install-api-server.html.md.liquid b/doc/install/install-api-server.html.md.liquid
index 582feb9..6eaef18 100644
--- a/doc/install/install-api-server.html.md.liquid
+++ b/doc/install/install-api-server.html.md.liquid
@@ -12,29 +12,30 @@ navorder: 1
 1. A GNU/Linux (virtual) machine
 2. A domain name for your api server
 3. Ruby >= 2.0.0
-4. Bundler
+4. Bundler: `gem install bundler`
+5. Curl libraries: `sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev`
 
 ## Download the source tree
 
     git clone https://github.com/curoverse/arvados.git
+    cd arvados
 
 See also: [Downloading the source code](https://arvados.org/projects/arvados/wiki/Download) on the Arvados wiki.
 
-## Configure the API server
+## Install gem dependencies
 
-First install the gems:
+    cd services/api && bundle install
 
-    cd arvados/services/api
-    bundle install
+## Configure the API server
 
-Next, configure the database:
+Configure the database:
 
     cp -i config/database.yml.sample config/database.yml
 
-Edit `database.yml` to your liking and make sure the database and db user exist.
-Then set up the database:
+Edit `config/database.yml` to your liking and make sure the database
+and db user exist. Then set up the database:
  
-    RAILS_ENV=production rake db:setup
+    RAILS_ENV=production bundle exec rake db:setup
 
 Then set up omniauth:
 
@@ -46,41 +47,35 @@ Edit `config/initializers/omniauth.rb`. Choose an *APP_SECRET* and
 Make sure your Omniauth provider knows about your *APP_ID* and *APP_SECRET*
 combination.
 
-You also need to update `config/initializers/secret_token.rb`.
-Generate a new secret with
-
-    rake secret
-
-and put it in `config/initializers/secret_token.rb`:
-
-    Server::Application.config.secret_token = 'your-new-secret-here'
+Edit the main configuration.
 
-Edit the main configuration:
+    cp -i config/application.yml.example config/application.yml
 
-    cp -i config/config.yml.example config/config.yml
+First, choose a unique 5-character alphanumeric string to use as your
+`uuid_prefix`. An example is given that generates a 5-character string
+based on a hash of your hostname. The `uuid_prefix` is a unique
+identifier for your API server. It also serves as the first part of
+the hostname for your API server:
 
-First, you want to make sure that
+    {{ site.arvados_api_host }}
 
-    uuid_prefix
+For a development site, use your own domain instead of arvadosapi.com.
 
-is set to a unique 5-character alphanumeric string. An example is
-given that generates a 5-character string based on a hash of your
-hostname.
+You also need to install a secret_token for signing cookies. Generate
+a new secret:
 
-The `uuid_prefix` is a unique identifier for your API server. It also
-serves as the first part of the hostname for your API server, for
-instance
+    rake secret
 
-    {{ site.arvados_api_host }}
+Put it in `config/application.yml` in the production or common section:
 
-For a development site, use your own domain instead of arvadosapi.com.
+    secret_token: your-new-secret-here
 
 You will also want to change `compute_node_nameservers` to suit your
 environment.
 
-Consult `config.defaults.yml` for a full list of configuration
-options. Always put your local configuration in `config.yml` instead
-of editing `config.defaults.yml`.
+Consult `application.default.yml` for a full list of configuration
+options. Always put your local configuration in `application.yml`
+instead of editing `application.default.yml`.
 
 ## Apache/Passenger
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list