LQD Online Judge
Find a file
2020-12-27 20:27:03 -06:00
.github/workflows Cloned DMOJ 2020-01-21 15:35:58 +09:00
chat_box Add SSL flexibility to chat server 2020-10-26 14:39:47 -05:00
django_ace Cloned DMOJ 2020-01-21 15:35:58 +09:00
dmoj Change default language back to PY3 2020-12-22 18:27:20 -06:00
judge Rescore contest when parameters change 2020-12-27 20:27:03 -06:00
locale Add option to only show total score in contest 2020-10-26 15:46:42 -05:00
resources Add submission activity chart 2020-12-25 19:02:14 -06:00
templates Fix weekday in submission chart 2020-12-25 19:36:48 -06:00
validator_template Handle AC display in partial checker 2020-07-29 16:36:54 -05:00
websocket change contest testcases visibility 2020-04-10 01:30:19 -05: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 SSL flexibility to chat server 2020-10-26 14:39:47 -05:00
.gitmodules Cloned DMOJ 2020-01-21 15:35:58 +09:00
502.html fix icon 2020-03-17 23:57:57 -06:00
django_2_2_pymysql_patch.py Cloned DMOJ 2020-01-21 15:35:58 +09:00
dmoj_bridge_async.py Update bridge (DMOJ) 2020-07-19 16:27:14 -05: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 Update logo 2020-04-26 15:54:17 +00:00
make_style.sh change styles 2020-03-16 01:56:55 -06: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.md update readme 2020-03-15 20:28:46 -06:00
requirements.txt Add version of channels to requirements.txt 2020-12-22 22:49:57 -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. Update vietnamese translation:

  • go to locale/vi
  • modify .po file
  • python manage.py compilemessages
  • python manage.py compilejsi18n

###8. Run chat server: docker run -p 6379:6379 -d redis:2.8