Skip to content
Adaptive MOOClet Quiz LTI tool
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ebextensions
adaptive_mooclet_lti
api
engine
images
lti
qualtrics
quiz
sandbox
static
.ebignore
.gitignore
README.md
manage.py
requirements.txt
requirements_local.txt

README.md

Adaptive MOOClet LTI

Introduction

Description

An LTI tool that enables the creation and embedding of adaptive MOOClet quizzes in a course. Implemented in Python/Django.

Installing the tool in an LMS

Currently only tested with Canvas.

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.) Add tool to Canvas 1

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

Add tool to Canvas 2

Developer setup

Dependencies

Libraries include

Downloading the repository and installing requirements

# 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

Edit secure.py

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',
	},
}

Initialize project

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. Chrome Security Warning

Copy all the XML data; you will need this to install your tool in Canvas.

You can’t perform that action at this time.