Merge branch 'master' into 2525-java-sdk
[arvados.git] / doc / install / install-sso.html.textile.liquid
1 ---
2 layout: default
3 navsection: installguide
4 title: Install Single Sign On (SSO) server
5 ...
6
7 <notextile>
8 <pre><code>~$ <span class="userinput">cd $HOME</span> # (or wherever you want to install)
9 ~$ <span class="userinput">git clone https://github.com/curoverse/sso-devise-omniauth-provider.git</span>
10 ~$ <span class="userinput">cd sso-devise-omniauth-provider</span>
11 ~/sso-devise-omniauth-provider$ <span class="userinput">bundle install</span>
12 ~/sso-devise-omniauth-provider$ <span class="userinput">rake db:create</span>
13 ~/sso-devise-omniauth-provider$ <span class="userinput">rake db:migrate</span>
14 ~/sso-devise-omniauth-provider$ <span class="userinput">rake secret</span>
15 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
16 ~/sso-devise-omniauth-provider$ <span class="userinput">rails console</span>
17 irb(main):001:0&gt; <span class="userinput">c = Client.new</span>
18 irb(main):002:0&gt; <span class="userinput">c.name = "joshid"</span>
19 irb(main):003:0&gt; <span class="userinput">c.app_id = "arvados-server"</span>
20 irb(main):004:0&gt; <span class="userinput">c.app_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"</span>
21 irb(main):005:0&gt; <span class="userinput">c.save!</span>
22 irb(main):006:0&gt; <span class="userinput">quit</span>
23 ~/sso-devise-omniauth-provider$ <span class="userinput">rails server --port=3002</span>
24 </code></pre>
25 </notextile>