Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

EmpowrOrg/CodeEditorXblock

Repository files navigation

CodeEditorXblock

An XBlock for Empowr's course platform that allows for the input and checking of any programming language.

  • CodeEditorXblock
    • Installation
      • Run the Django development server

Installation

  1. Make sure you have have Python 3.8 installed on your computer.

  2. 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.

  3. 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

  1. 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

About

An Xblock that allows you to create, write, and submit coding problems.

Topics

Resources

Readme

License

AGPL-3.0 license

Stars

Watchers

Forks

Packages

Contributors