You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Boilerplate LTI 1.3 template written in Python using the Flask framework
About
This is our starter Flask Template for using LTI 1.3. This skeleton will launch an LTI 1.3 application from within your LMS and display the email of the logged in user.
We are always looking for feedback and pull requests.
Docker Development
First you will need to clone the repo, and create the environment file from the template.
git clone https://github.com/ucfopen/lti-13-template-flask
cd lti-13-template-flask
cp .env.template .env
In this simple framework all the variables are preset, but for production you will want to edit the .env environment variables DEBUG and SECRET_KEY.
We use Docker-Compose to build and run our services.
docker compose build
docker compose up -d
After Docker builds and starts the services, you will run the migration commands to create the database.
docker compose exec lti flask db upgrade
The database which will hold your LTI1.3 credentials has now been created. It's now time to generate the LTI 1.3 keys for LMS authentication:
The LTI 1.3 Template will now be running at: https://127.0.0.1:8000/lti13template/ and available via the course navigation from the account or course you installed the tool into.