CodeEditorXblock
An Xblock that allows you to create, write, and submit coding problems.
Install / Use
/learn @EmpowrOrg/CodeEditorXblockREADME
CodeEditorXblock
An XBlock for Empowr's course platform that allows for the input and checking of any programming language.

Installation
-
Make sure you have have Python 3.8 installed on your computer.
-
Clone the repo with
git clone --recurse-submodules git@github.com:EmpowrOrg/CodeEditorXblock.git. This will give you the repo including the xblock-sdk submodule. -
Create and Activate the Virtual Environment:
You must have a virtual environment tool installed on your computer. For more information, see Install XBlock Prerequisites .
Then create the virtual environment in your CodeEditorXblock directory.
At the command prompt in CodeEditorXblock, run the following command to create the virtual environment.
virtualenv venv
Run the following command to activate the virtual environment.
source venv/bin/activate
Install the plugin with
pip install -e swiftplugin
- Navigate to the xblock-sdk directory and run the following command to install the requirements.
pip install -r requirements/base.txt
Run the Django development server
Navigate to the xblock-sdk directory and run the following commands.
make install
python manage.py migrate
python manage.py runserver
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
