3 navsection: installguide
4 title: Install Single Sign On (SSO) server
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> <span class="userinput">c = Client.new</span>
17 irb(main):002:0> <span class="userinput">c.name = "joshid"</span>
18 irb(main):003:0> <span class="userinput">c.app_id = "arvados-server"</span>
19 irb(main):004:0> <span class="userinput">c.app_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"</span>
20 irb(main):005:0> <span class="userinput">c.save!</span>
21 irb(main):006:0> <span class="userinput">quit</span>
22 ~/sso-devise-omniauth-provider$ <span class="userinput">rails server --port=3002</span>