Warning
This xblock-sql-grader repository is being archived. The SQL Grader XBlock
is moving to the xblocks-extra repository,
which consolidates optional add-on XBlocks for the Open edX platform.
The migration is being completed through: openedx/xblocks-extra#18 — feat: add SQL Grader XBlock
Archival: This repository will become read-only once the migration is complete. No further updates or changes will be accepted here.
Please use xblocks-extra for all future work. If you have any questions or concerns, please open an issue on the xblocks-extra issue tracker.
XBlock to grade SQL statements via a SQLite engine.
This package provides an XBlock for use with the Open EdX Platform. Participants can be graded on SQL scripts, written in code editor supporting:
- syntax highlighting
- autocomplete (with Ctrl+Space)
To install the XBlock on your platform, add the following to your requirements.txt file:
git+https://github.com/Stanford-Online/xblock-sql-grader.git@master#egg=sql_grader==0.0.1
To install the XBlock in your course, access your Advanced Module List:
Settings -> Advanced Settings -> Advanced Module List
and add the following:
sql_grader