Skip to content

DCUSnSLab/DCU_Online_Judge_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnlineJudge Backend

본 프로젝트는 저지 시스템 백엔드 컨테이너 (oj-backend) 내 파일들을 관리하기 위한 프로젝트입니다.

Overview

  • Based on Docker; One-click deployment
  • Separated backend and frontend; Modular programming; Micro service
  • ACM/OI rule support; realtime/non-realtime rank support
  • Amazing charting and visualization
  • Template-problem support
  • More reasonable permission control
  • Multi-language support: C, C++, Java, Python2, Python3
  • Markdown & MathJax support
  • Contest participants IP limit(CIDR)

Main modules are available below:

Dependency

heartbeat 앱 동작을 위해 백엔드 컨테이너에 아래 라이브러리들의 설치가 필요함

apk add gcc

apk add linux-headers

apk add musl-dev

pip install psutil

Installation

https://github.com/QingdaoU/OnlineJudgeDeploy/tree/2.0

Documents

http://docs.onlinejudge.me/

개발 가이드

  • 데이터베이스는 백엔드 코드 각 app(account, contest 등..)폴더 내 models.py 파일로 관리됩니다.

    • 따라서 oj-postgres 컨테이너 내 데이터베이스에 대한 직접 수정은 금합니다.
    • manage.py 파일이 존재하는 경로

Screenshots

Frontend:

problem-list

problem-details

statistic-info

contest-list

acm-rankings

oi-rankings

status

status-details

user-home

Admin:

admin-users

judge-server

create-problem

create-contest

License

MIT