LQD Online Judge
Find a file
2020-01-28 14:12:17 -06:00
.github/workflows Cloned DMOJ 2020-01-21 15:35:58 +09:00
chat_box add chat model 2020-01-28 14:12:17 -06:00
django_ace Cloned DMOJ 2020-01-21 15:35:58 +09:00
dmoj add chat model 2020-01-28 14:12:17 -06:00
event_socket_server Cloned DMOJ 2020-01-21 15:35:58 +09:00
judge change chat position on navbar 2020-01-27 14:55:19 -06:00
locale Cloned DMOJ 2020-01-21 15:35:58 +09:00
resources add testcase input and answer 2020-01-21 11:42:16 -06:00
templates add chat box 2020-01-27 14:37:52 -06:00
websocket Cloned DMOJ 2020-01-21 15:35:58 +09:00
.browserslistrc Cloned DMOJ 2020-01-21 15:35:58 +09:00
.flake8 Cloned DMOJ 2020-01-21 15:35:58 +09:00
.gitignore add custom checker 2020-01-23 20:32:46 -06:00
.gitmodules Cloned DMOJ 2020-01-21 15:35:58 +09:00
502.html Cloned DMOJ 2020-01-21 15:35:58 +09:00
<desired bridge log path> fix urls.py 2020-01-26 17:32:40 -06:00
django_2_2_pymysql_patch.py Cloned DMOJ 2020-01-21 15:35:58 +09:00
dmoj_celery.py Cloned DMOJ 2020-01-21 15:35:58 +09:00
dmoj_install_pymysql.py Cloned DMOJ 2020-01-21 15:35:58 +09:00
LICENSE Update AGPLv3 license 2020-01-21 15:44:20 +09:00
logo.png Cloned DMOJ 2020-01-21 15:35:58 +09:00
make_style.sh Cloned DMOJ 2020-01-21 15:35:58 +09:00
manage.py Cloned DMOJ 2020-01-21 15:35:58 +09:00
manifest.json Cloned DMOJ 2020-01-21 15:35:58 +09:00
README.html add readme file and fix the submission.py 2020-01-21 12:00:50 -06:00
README.md add readme file and fix the submission.py 2020-01-21 12:00:50 -06:00
requirements.txt add chat box 2020-01-27 14:37:52 -06:00
robots.txt Cloned DMOJ 2020-01-21 15:35:58 +09:00

online-judge

1. Activate virtualenv:

source dmojsite/bin/activate

2. Remember to change the local_settings

3. Run server:

python manage.py runserver 0.0.0.0:8000

4. Create configure file for judge:

python dmojauto-conf

5. Create folder for problems, change the dir in judge conf file and local_settings.py

6. Connect judge:

  • python manage.py runbridged
  • dmoj 0.0.0.0 -p 9999 -c judge/conf1.yml (depend on port in the local_settings.py and directory of conf file)

7. Change vietnamese:

  • go to /home/cuom1999/DMOJ/site/locale/vi
  • open .po file
  • python manage.py compilemessages
  • python manage.py compilejsi18n