Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

taoky/OJSandbox

Repository files navigation

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

About

An experimental OJ backend for our freshman project assignment.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •