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',
},
}
python3 manage.py migrate
python3 manage.py createsuperuser
# enter superuser credentials
python3 manage.py collectstatic
python3 manage.py runsslserver 0.0.0.0:8000
Now open a browser and enter:
https://localhost:8000/lti/tool_config
Your browser will likely block you from viewing this page. You must override this.
Then you'll see something like this
Copy all the XML data; you will need this to install your tool in Canvas.
Also, you can enter the admin panel and create some users, questions, quizzes, etc.
https://localhost:8000/admin
After entering your login and password you should see this:
Possible problems with setting up this app:
- outdated LTI libs, can be fixed by manually changing lib source codes