As a fork of DMOJ and VNOJ, TomChienXuOJ serves as VNU-HUS, K69A4's custom online judge and hosts its programming contests.
See it live at oj.tunaa.io.vn!
Check out its features here.
We rewrote install documentation of DMOJ and VNOJ and included some more detailed steps and some FAQs, check it out 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.
*These steps are provided by VNOJ's repository, some of which are included in our FAQ-section.
-
You have to define
DMOJ_PROBLEM_DATA_ROOT
inlocal_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 (
CACHES
) tomemcached
orredis
instead of the default (local-memory caching). -
If you use
python3 manage.py loaddata demo
, the home button in the admin dashboard (/admin) links you tolocalhost: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
Sites
setting and changelocalhost:8081
to your domain.
-
To support
testlib.h
, you need to copy testlib.h tog++
's include path in the judge server. To speed up compile time, you can also create a precompiled header fortestlib.h
.