instructure / lti2_reference_tool_provider

LTI2.1 Tool Provider reference implementation
MIT License
7 stars 8 forks source link

LTI 2.1 Reference Tool Provider

Build Status Code Climate Dependency Status Coverage Status

Deploy

An LTI tool provider intended to be used as a reference for implementing the IMS LTI 2.1 specification. Section numbers in the comments (i.e. “6.1.2”) refer to sections of the IMS LTI 2.1 specification.

Running locally

Setup

  1. bundle install
  2. bundle exec rake db:create
  3. bundle exec rake db:migrate
  4. bundle exec rackup

Running tests

  1. bundle exec rake db:migrate RACK_ENV=test
  2. bundle exec rspec

Running in docker

Setup

  1. 'docker-compose build'
  2. 'docker-compose run --rm web bundle exec rake db:setup'

Running the server

  1. 'docker-compose up'

Running migrations

  1. 'docker-compose build'
  2. 'docker-compose run --rm web bundle exec rake db:migrate'