Skip to content

VNOI-Admin/OJ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
winprn
Oct 31, 2023
a11d237 · Oct 31, 2023
Jan 27, 2023
Feb 18, 2023
Sep 19, 2023
Sep 19, 2023
May 23, 2023
Oct 31, 2023
Oct 31, 2023
Sep 10, 2021
Oct 18, 2023
Sep 24, 2019
Jun 2, 2020
Jan 27, 2023
May 22, 2023
Apr 14, 2015
Jun 12, 2021
Oct 18, 2023
Sep 30, 2014
Oct 21, 2022
Jan 30, 2022
Oct 3, 2020
Apr 26, 2021
Jan 27, 2023
Jan 27, 2023
Jan 27, 2023
Mar 15, 2021
Feb 17, 2023
Jan 27, 2023
Apr 28, 2023
Jun 6, 2020

Repository files navigation

VNOJ: VNOI Online Judge Build Status AGPL License Discord link

As a fork of DMOJ, VNOJ serves as the official online judge and programming contests of VNOI.

See it live at oj.vnoi.info!

Features

Checkout the features listed here.

Addition features:

  • Beside Python checkers here, we can write custom C++ checker using testlib.h.

Installation

Check out the install documentation at docs.dmoj.ca. Almost all installation steps is the same as the docs, there is one minor change: clone this repo instead of dmoj repo.

Additional step in installation:

  • You have to define DMOJ_PROBLEM_DATA_ROOT in local_settings.py, this is path to your problems tests folder.

  • Considering to disable Full text search, please check this issuse for more information.

  • To sync the caching of judge server and site, change cache framework (CACHES) to memcached or redis instead of the default (local-memory caching).

  • The "home button" the admin dashboard (/admin) will redirect to localhost:8081 if you use python3 manage.py loaddata demo, there is 2 ways to fix it:

    1. You can change that in demo.json
    2. You can go to the admin page, scoll down to find the Sites settings and change localhost:8081 to your domain.
  • To support testlib.h, you need to copy the testlib.h to g++ include path in judge server. To speed up compiler time, you may create the precompiled header to testlib.h.

Contributing PR's Welcome

Take a look at our contribution guideline.

If you found any bug, please feel free to contact us via Discord Discord Chat or open an issue.

Pull requests are welcome as well. Before you submitting your PR, please check your code with flake8 and format it if needed.

Translation contributions are also welcome.