An LTI tool that enables the creation and embedding of adaptive MOOClet quizzes in a course. Implemented in Python/Django.
Currently only tested with Canvas.
Open a browser and enter:
https://adaptive.vpal.io/lti/tool_config
Copy all the XML data; you will need this to install your tool in Canvas.
Navigate to the settings page of the course you would like to install the tool for. (Note that this settings page can be found on the left sidebar of the course page. This is different from the settings page found in the upper right toolbar.)
Click the "Add New App" button.
You may choose any name for the tool. Consumer Key and Shared Secret must be the key and value you choose for lti_oauth_credentials
in secure.py
. Configuration type should be Paste XML. In the following text box, paste the XML that was generated at https://adaptive.vpal.io/lti/tool_config
Libraries include
- django-auth-lti
- ims-lti-py
- dce-lti-py (A fork of ims-lti-py)
- django-sslserver
- numpy
# download repo
git clone https://github.com/kunanit/qualtrics-lti-bridge.git
# (optional) create virtual environment
# install requirements
pip install -r requirements_local.txt --upgrade
# try removing the "--upgrade" option if you're using a conda environment and get a setuptools related error
You must edit secure.py
before deploying your application. The file secure.py.example
can be used as a template. If you do not have a django_secret_key
, you can start a new django project to obtain one.
Remember the key and value you choose for lti_oauth_credentials
; you will need this when installing the tool in Canvas.
secure.py.example
SECURE_SETTINGS = {
# required for Django
'django_secret_key': 'changeme,',
# required for LTI
'lti_oauth_credentials': {
'key': 'value',
},
}
python manage.py migrate
# (optional: create superuser)
python manage.py collectstatic
python manage.py runsslserver 0.0.0.0:8000
Now open a browser and enter:
https://localhost:8000/qlb/tool_config
Your browser will likely block you from viewing this page. You must override this.
Copy all the XML data; you will need this to install your tool in Canvas.