Ruby

Version 1.0 Released October 15, 2018 View changelog View on Github

This is a sample seed Ruby Web App built with Sinatra

You will need an ID.me developer account to complete this process

Prerequisites

You must have ruby and rubygems installed

Installation

1

Download the code

2

Install the required gems

$gem install bundler
>bundle install
3

Configure your oauth settings in app.rb with the values provided in your developer account

1# app.rb
2client_id = "YOUR_CLIENT_ID"
3client_secret = "YOUR_CLIENT_SECRET"
4scope = "YOUR_SCOPE_VALUE"
4

Start the server

$ruby app.rb
5

View the app at http://localhost:4567