This is a basic and simple LTI Tool Provider that uses the ims-lti 2.0.0.beta gem.
To get this running in your development environment, check out the repo then:
bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed
bundle exec rails s
To get this running with Docker, follow these steps:
docker-compose build
docker-compose run --rm app bundle install
docker-compose run --rm app bundle exec rake db:create
docker-compose run --rm app bundle exec rake db:migrate
docker-compose run --rm app bundle exec rake db:seed
docker-compose up
You can add the tool to a tool consumer with the the /tool_proxy
endpoint
When installing the LTI 1 tool use the key and secret key
and secret
or you will get a NoMethodError: shared_secret
error.