Load SCORM packages into Open edX courses
Abstract Scorm XBlock
Yet another SCORM XBlock for Open edX®.
Supports course export/import. Editable within Open edx Studio. Saves student state and reports scores to the progress tab of the course. Currently supports SCORM 1.2 and SCORM 2004 standards.
Install package with
pip install abstract-scorm-xblock
abstract_scorm_xblockto the list of advanced modules in the advanced settings of a course.
- Add a
scormcomponent to your Unit.
- Upload a zip file containing your content package. The
imsmanifest.xmlfile must be at the root of the zipped package. Make sure you don't have an additional directory at the root of the zip archive.
- Publish your content as usual.
To setup the development environment:
- create a Python3 virtualenv. If direnv is installed a
direnv allowshould be enough.
- install derex with
pip install -r requirements.txt
- setup the derex project. Read the documentation for further informations.
Development and Debugging
In order to be able to develop and debug effectively some steps may be taken:
get a shell inside the container:
cd derex_project ddc-project exec cms sh
setup the package in editable mode. This will allow for testing changes without the need to reinstall the package:
pip install -e /openedx/derex.requirements/abstract_scorm_xblock
launch the Django debug server manually and bind it on port
python manage.py cms runserver 0:81
on your browser https://studio.scorm.localhost:81 should now be available. You should now be able to insert debug code in both Python and JS files and benefit from Django runserver auto reload feature.
Tests can be run from the derex project directory by running:
ddc-project run --rm lms python manage.py lms test abstract_scorm_xblock --keepdb
The first time this command is run it will initialize the test database. Remove the
--keepdb flag if you want the test database to be created/destroyed each time.
- If a SCORM package is deleted from the course "Files & Uploads" section, the Import/Export functionality will export a course with a broken XBlock.
- Delete extracted old SCORM packages from default storage
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size abstract_scorm_xblock-1.0.0-py3-none-any.whl (20.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size abstract-scorm-xblock-1.0.0.tar.gz (15.9 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for abstract_scorm_xblock-1.0.0-py3-none-any.whl
Hashes for abstract-scorm-xblock-1.0.0.tar.gz