hx django lti provider for edx
Project description
hxlti
============
django app to implement a lti provider
quick start
============
hxlti requires a redis instance running, and by default it will look for
`redis://localhost:6379/0`.
1. add "hxlti" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'hxlti',
]
2. include the hxlti urlconf in your project `urls.py` like this:
path('lti/', include('hxlti.urls')),
3. run `python manage.py migrate` to create hxlti models for consumer keys
4. start the development server and visit `http://127.0.0.1:8000/admin/` to
create a consumer (you will need the `Admin` app enabled)
5. configure your lti consumer with the created consumer keys in the previous
step, and use the launch url `http://127.0.0.1:8000/lti/launch/`
other configs
=============
some other settings for hxlti:
# hxlti app settings
HXLTI_ENFORCE_SSL = True # check if request protocol is https, default is false
HXLTI_DUMMY_CONSUMER_KEY = os.environ.get('HXLTI_DUMMY_CONSUMER_KEY', 'dummy')
HXLTI_REDIS_URL = os.environ.get('REDIS_URL', 'redis://localhost:6379/0')
============
django app to implement a lti provider
quick start
============
hxlti requires a redis instance running, and by default it will look for
`redis://localhost:6379/0`.
1. add "hxlti" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'hxlti',
]
2. include the hxlti urlconf in your project `urls.py` like this:
path('lti/', include('hxlti.urls')),
3. run `python manage.py migrate` to create hxlti models for consumer keys
4. start the development server and visit `http://127.0.0.1:8000/admin/` to
create a consumer (you will need the `Admin` app enabled)
5. configure your lti consumer with the created consumer keys in the previous
step, and use the launch url `http://127.0.0.1:8000/lti/launch/`
other configs
=============
some other settings for hxlti:
# hxlti app settings
HXLTI_ENFORCE_SSL = True # check if request protocol is https, default is false
HXLTI_DUMMY_CONSUMER_KEY = os.environ.get('HXLTI_DUMMY_CONSUMER_KEY', 'dummy')
HXLTI_REDIS_URL = os.environ.get('REDIS_URL', 'redis://localhost:6379/0')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hxlti-djapp-0.2.1.tar.gz
(4.6 kB
view details)
File details
Details for the file hxlti-djapp-0.2.1.tar.gz
.
File metadata
- Download URL: hxlti-djapp-0.2.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ca15683c6f07c122fdb5506dd9112c88f77d8306827c3a464740f6cdd1cb1d |
|
MD5 | ae341276ec926fee77a152592815d966 |
|
BLAKE2b-256 | 06b57b8d7d71724344b786465d67244b774f4d35f212ff1264d10a4ae5f4d545 |