This installation guide is for Linux based machines (WSL included). For installation on Windows, see the Windows install instructions.
Installing the prerequisites
$ apt install git python-dev python-pip build-essential $ git clone https://github.com/DMOJ/judge $ cd judge $ pip install -r requirements.txt $ python setup.py develop
Configuring the judge
Start by taking the
runtime block from the output of the command
dmoj-autoconf and put it in a new file
config.yml. Next, add a
problem_storage_root node where you specify where your problem data is located.
problem_storage_root: - /judge/problems runtime: ...
You should now be able to run
dmoj-cli -c config.yml to enter a CLI environment for the judge. For additional configuration options, an example configuration file is provided.