Skip to content
/ hsyoj Public

Online Judge for NO.1 Middle School Affiliated to CCNU(Mirrors From: GitLab)

License

Notifications You must be signed in to change notification settings

hsyoi/hsyoj

Repository files navigation

HSYOJ

Online Judge for NO.1 Middle School Affiliated to CCNU

Website:https://gitlab.com/hsyoi/hsyoj

Status

HSYOJ is still heavily under development, it may take a long time to be completed.

Requirements

Recommend (No test for older version, but may run as well):

  • Python >= 3.6
  • Django >= 2.0
  • Sphinx >= 1.7

Getting Started

  1. Install Git and Python, see the websites for more information.

  2. Clone this repository

    $ git clone "https://gitlab.com/hsyoj/hsyoj.git"

  3. Enter the repository directory

    $ cd hsyoj

  4. Create python virtual environment

    $ python -m venv .venv

    $ source .venv/bin/activate

  5. Install requirements

    $ pip install -r requirements.txt

  6. Initialize the database

    $ python manage.py migrate

    To import the sample problems:

    $ python manage.py loaddata fixture.json

  7. Run the server

    $ python manage.py runserver

Contributing

Please see file "CONTRIBUTING".

Licence

The HSYOJ is licenced under the AGPL licence, see the file "LICENCE" for more information.

About

Online Judge for NO.1 Middle School Affiliated to CCNU(Mirrors From: GitLab)

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages