Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/instructure/lti_tool_provider_example
This is a basic and simple LTI Tool Provider that uses the [ims-lti](https://github.com/instructure/ims-lti) 2.0.0.beta gem.
https://github.com/instructure/lti_tool_provider_example
Last synced: 7 days ago
JSON representation
This is a basic and simple LTI Tool Provider that uses the [ims-lti](https://github.com/instructure/ims-lti) 2.0.0.beta gem.
- Host: GitHub
- URL: https://github.com/instructure/lti_tool_provider_example
- Owner: instructure
- Created: 2016-02-17T21:14:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-09T23:17:26.000Z (over 1 year ago)
- Last Synced: 2024-04-14T20:25:58.037Z (7 months ago)
- Language: Ruby
- Size: 75.2 KB
- Stars: 25
- Watchers: 26
- Forks: 14
- Open Issues: 7
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Example LTI Tool Provider Using ims-lti Gem
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
This is a basic and simple LTI Tool Provider that uses the
[ims-lti](https://github.com/instructure/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 sTo 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 upYou 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.