This issue features OnlineJudge- an online evaluation system based on Python and Vue.
system function
- Based on Docker, truly one-click deployment
Front-end separation, modular programming, microservices
Choose from two competition modes: ACM/OI, real-time/non-real-time judging
Rich visual charts, a picture worth a thousand words
Template Problem is supported, you can add function questions and even fill in the blanks
More detailed rights division, the super administrator and the common administrator have their own roles
Multi-language support: C, C++, Java, Python2, Python3, the topic can choose the language used
Markdown & MathJax support
Competition User IP Limits (CIDR ranges)
system modules
- The back-end (Django) : HTTPS: / / github.com/QingdaoU/OnlineJudge
The front (Vue) : HTTPS: / / github.com/QingdaoU/OnlineJudgeFE
The referee sandbox (Seccomp) : HTTPS: / / github.com/QingdaoU/Judger
JudgeServer (Judger encapsulation) : HTTPS: / / github.com/QingdaoU/JudgeServer
Install
Linux environment
Install the necessary dependencies
sudo apt-get update && sudo apt-get install -y vim python3-pip curl gitpip3 install --upgrade pippip install docker-compose
Install Docker
Domestic users use script one-click installation:
sudo curl -sSL https://get.daocloud.io/docker | sh
Foreign users use script one-click installation:
sudo curl -sSL get.docker.com | sh
Start installation
Select the location where the disk space is free and run the following command
git clone -b 2.0 https://github.com/QingdaoU/OnlineJudgeDeploy.git && cd OnlineJudgeDeploy
- Start service
docker-compose up -d
Depending on the network speed, it can be set up automatically in about 5 to 30 minutes without human intervention.
After the command is executed, run docker ps -a. When the status of all containers is not unhealthy or Exited (x) xxx, it indicates that OJ has been started successfully.
Home picture
Graphic presentation
According to the selection of relevant content, corresponding charts can be generated, including mathematical view, line chart, bar chart, stack chart, and can also be downloaded as pictures. Students can also express their emotions at that time and so on.