Added section on setting up SSO server
authorPeter Amstutz <peter.amstutz@curoverse.com>
Thu, 13 Mar 2014 01:08:33 +0000 (21:08 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Thu, 13 Mar 2014 01:08:33 +0000 (21:08 -0400)
doc/_config.yml
doc/install/index.html.md.liquid
doc/install/install-sso.html.textile.liquid [new file with mode: 0644]

index 3e04430b343f610b88a4c46c5e9a143939c6662b..3ec959ac2532b401e0800bb7d5718e8ddb9619fc 100644 (file)
@@ -104,6 +104,7 @@ navbar:
   installguide:
     - Install:
       - install/index.html.md.liquid
+      - install/install-sso.html.textile.liquid
       - install/install-api-server.html.md.liquid
       - install/install-workbench-app.html.md.liquid
       - install/client.html.textile.liquid
index f11cac9cea0373fc957d3f3d220284d697b249a8..aaac7a729084b8b1f9b898a12936107c2dae9f14 100644 (file)
@@ -10,6 +10,7 @@ title: Overview
 
 1. Set up a cluster, or use Amazon
 1. Create and mount Keep volumes
+1. [Install the Single Sign On (SSO) server](install-sso.html)
 1. [Install the Arvados REST API server](install-api-server.html)
 1. [Install the Arvados workbench application](install-workbench-app.html)
 1. [Install the Crunch dispatcher](install-crunch-dispatch.html)
diff --git a/doc/install/install-sso.html.textile.liquid b/doc/install/install-sso.html.textile.liquid
new file mode 100644 (file)
index 0000000..b12bc51
--- /dev/null
@@ -0,0 +1,23 @@
+---
+layout: default
+navsection: installguide
+title: Install Single Sign On (SSO) server
+...
+
+<notextile>
+<pre><code>~$ <span class="userinput">git clone https://github.com/curoverse/sso-devise-omniauth-provider.git</span>
+~$ <span class="userinput">cd sso-devise-omniauth-provider</span>
+~/sso-devise-omniauth-provider$ <span class="userinput">bundle install</span>
+~/sso-devise-omniauth-provider$ <span class="userinput">rake db:create</span>
+~/sso-devise-omniauth-provider$ <span class="userinput">rake db:migrate</span>
+~/sso-devise-omniauth-provider$ <span class="userinput">rake secret</span>
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+~/sso-devise-omniauth-provider$ <span class="userinput">rails console</span>
+irb(main):001:0&gt; <span class="userinput">c = Client.new</span>
+irb(main):002:0&gt; <span class="userinput">c.name = "joshid"</span>
+irb(main):003:0&gt; <span class="userinput">c.app_id = "arvados-server"</span>
+irb(main):004:0&gt; <span class="userinput">c.app_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"</span>
+irb(main):005:0&gt; <span class="userinput">c.save!</span>
+irb(main):006:0&gt; <span class="userinput">quit</span>
+</code></pre>
+</notextile>