Giter VIP home page Giter VIP logo

adaptive-mooclet-lti's Introduction

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

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.

Chrome Security Warning

Then you'll see something like this

LTI tool config window

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: Admin panel

Possible problems with setting up this app:

  • outdated LTI libs, can be fixed by manually changing lib source codes

adaptive-mooclet-lti's People

Contributors

cutlers avatar josephjaywilliams avatar pipeknight avatar pretendwhale avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.