Skip to content

eduNEXT/codejailservice

Repository files navigation

Codejail service

CI License

The repository codejailservice manages execution of untrusted code in secure sandboxes. It is designed primarily for Python execution, but can be used for other languages as well. The security is enforced with AppArmor.

The creation of Codejail service affects the way untrusted code is executed, because it runs in a separate container from the one running the platform.

Usage

Using with Tutor

Run the instructions from tutor plugin.

Plugin: tutor-contrib-codejail (https://github.com/eduNEXT/tutor-contrib-codejail)

Using service independently

Clone repo

git clone [email protected]:eduNEXT/codejailservice.git

Create a virtual environment

cd codejailservice
virtualenv venv
source venv/bin/activate

Install requirements

make requirements

Run service

make run

Enjoy the service!

Compatibility

Open edX Release Tutor Version
Lilac >= 12.x
Maple >= 13.x

How to Contribute

Contributions are welcome! See our CONTRIBUTING file for more information – it also contains guidelines for how to maintain high code quality, which will make your contribution more likely to be accepted.

License

This software is licensed under the terms of the AGPLv3.