-
Notifications
You must be signed in to change notification settings - Fork 6
Configure dmoj judge
This is really easy.
-
If you want a multi-lang version,
git checkout multilang
. Extra languages we have inmultilang
:Java 11, Lua 5.3, Crystal, Scala 2.12.8, Rust, Haskell, Coffeescript, Julia 1.0.1
-
We have a mirror repository for schoj/judge (which would be needed in building
Dockerfile
). If you are not confident with your network, use that mirror:
- Create a environment file, like:
JUDGE_NAME=(Your judger's name)
JUDGE_KEY=(Your judger's key)
JUDGE_SITE=site
You can use any value for the names and keys, but keep them in mind (or you will just have to open the file again in search for that). You will need to fill in them at the admin panel of the site.
Also, tell docker-compose.yml
about the files.
Here is an example: docker-compose.yml and judge1.env.
P.S. The name should be different for every judger.
To use the schoj/judge image seperately, see Docker images.