See it live at oj.vnoi.info!
Check out its features here.
Refer to the install documentation here. Almost all installation steps remain the same as the docs, but there are several minor differences, including cloning this repo instead of DMOJ's repo.
Additional installation steps
You have to define
local_settings.py, which should be the path to the directory that contains your problems' tests.
Regarding disabling full-text search, please read this issue for more information.
To sync the judge server and the site's cache, change the cache framework (
redisinstead of the default (local-memory caching).
If you use
python3 manage.py loaddata demo, the home button in the admin dashboard (/admin) links you to
localhost:8081, there are 2 ways to change that:
- You can change that in demo.json
- You can go to the admin page, scroll down to find the
Sitessetting and change
localhost:8081to your domain.
testlib.h, you need to copy testlib.h to
g++'s include path in the judge server. To speed up compile time, you can also create a precompiled header for
Take a look at our contribution guideline.
Pull requests are welcome as well. Before you submit your PR, please check your code with flake8 and format it if needed. There's also
prettier if you need to format JS code (in
Translation contributions are also welcome.