Fix typo.
[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 {% include 'skip_sso_server_install' %}
8
9 h2(#dependencies). Install dependencies
10
11 Make sure you have "Ruby and bundler":install-manual-prerequisites-ruby.html installed.
12
13 h2(#install). Install SSO server
14
15 <notextile>
16 <pre><code>~$ <span class="userinput">cd $HOME</span> # (or wherever you want to install)
17 ~$ <span class="userinput">git clone https://github.com/curoverse/sso-devise-omniauth-provider.git</span>
18 ~$ <span class="userinput">cd sso-devise-omniauth-provider</span>
19 ~/sso-devise-omniauth-provider$ <span class="userinput">bundle install</span>
20 ~/sso-devise-omniauth-provider$ <span class="userinput">rake db:create</span>
21 ~/sso-devise-omniauth-provider$ <span class="userinput">rake db:migrate</span>
22 ~/sso-devise-omniauth-provider$ <span class="userinput">rake secret</span>
23 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
24 ~/sso-devise-omniauth-provider$ <span class="userinput">rails console</span>
25 irb(main):001:0&gt; <span class="userinput">c = Client.new</span>
26 irb(main):002:0&gt; <span class="userinput">c.name = "joshid"</span>
27 irb(main):003:0&gt; <span class="userinput">c.app_id = "arvados-server"</span>
28 irb(main):004:0&gt; <span class="userinput">c.app_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"</span>
29 irb(main):005:0&gt; <span class="userinput">c.save!</span>
30 irb(main):006:0&gt; <span class="userinput">quit</span>
31 ~/sso-devise-omniauth-provider$ <span class="userinput">rails server --port=3002</span>
32 </code></pre>
33 </notextile>