Merge branch 'master' into origin-2035-arv-mount-tags-folders
[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">git clone https://github.com/curoverse/sso-devise-omniauth-provider.git</span>
9 ~$ <span class="userinput">cd sso-devise-omniauth-provider</span>
10 ~/sso-devise-omniauth-provider$ <span class="userinput">bundle install</span>
11 ~/sso-devise-omniauth-provider$ <span class="userinput">rake db:create</span>
12 ~/sso-devise-omniauth-provider$ <span class="userinput">rake db:migrate</span>
13 ~/sso-devise-omniauth-provider$ <span class="userinput">rake secret</span>
14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
15 ~/sso-devise-omniauth-provider$ <span class="userinput">rails console</span>
16 irb(main):001:0&gt; <span class="userinput">c = Client.new</span>
17 irb(main):002:0&gt; <span class="userinput">c.name = "joshid"</span>
18 irb(main):003:0&gt; <span class="userinput">c.app_id = "arvados-server"</span>
19 irb(main):004:0&gt; <span class="userinput">c.app_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"</span>
20 irb(main):005:0&gt; <span class="userinput">c.save!</span>
21 irb(main):006:0&gt; <span class="userinput">quit</span>
22 ~/sso-devise-omniauth-provider$ <span class="userinput">rails server --port=3002</span>
23 </code></pre>
24 </notextile>