- Python3
$ sudo apt install python3 python3-pip
- Django >= 2
$ sudo pip3 install Django
- zip
$ sudo apt install zip
$ python3 manage.py migrate
(Please Ctrl-C the migration process when it stucks, since the judge thread started with the server would cause an infinity loop in background)
$ echo '<ip> <port>' >> ducks-config.txt # For each duck
Or use ducks-config.txt
generated by JudgeDuck OS.
Create folder jp_data/problems/
, and put all the problem folders into it.
The problem_md5
of a problem would be its folder name.
$ python3 manage.py runserver <ip>:<port>
GL & HF !