Skip to content
An experimental OJ backend for our freshman project assignment.
C Python HTML Makefile C++
Branch: version-1
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ci
Backend
Players
Problems
.flake8
.gitignore
.travis.yml
README.md
compare.py
config.py
debug.py
file.py
judge.py
langSupport.py
main.py
makefile
sandbox.py
setup.py

README.md

OJSandbox

Build Status Commits since root

An experimental sandbox for online judger.


Setup

First run this to generate a configuration file and a script to install dependency

make config

(or python3 setup.py for the same)

Then, install dependencies using the generated install.sh script. Note: openjdk-8-jdk will be included if you selected to enable support for Java, which may result in some size in downloading.

./install.sh

Next, compile the backend executable

make

Now you can run the program and see the effect (may require sudo in the middle of execution - please grant it)

sudo python3 main.py

To cleanup the temporary files and directories created by this OJ sandbox, run the main entry with cleanup:

sudo python3 main.py cleanup

Note: As sudo is used when running the program, you may need it when cleaning up the qorking directory, i.e.

sudo make clean
You can’t perform that action at this time.