- Install Docker Engine
- Install Docker Compose
- Install require packages:
sudo apt update
sudo apt install git gcc g++ make python3-dev python3-pip libxml2-dev libxslt1-dev zlib1g-dev gettext curl
Read Judge profile template here or
id: <judge name>
key: <judge authentication key>
problem_storage_globs:
- /problems/*
- Assume that you are login as user
judger
, create folderproblems
to store judge profile and problems data inside it.
judger@callmeqan:~$ mkdir problems
judger@callmeqan:~$ cd problems
judger@callmeqan:~/problems$ nano judge01.yml
...Paste the sample configuration above to yaml file
- Now we have root problems is
/home/judger/problems
judger@callmeqan:~$ git clone --recursive https://github.com/DMOJ/judge-server.git
judger@callmeqan:~$ cd judge-server/.docker
judger@callmeqan:~/judge-server/.docker$ make judge-tier1