2017-11-29 09:01:48 +00:00
|
|
|
# OnlineJudge 2.0
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2021-12-17 17:15:03 +00:00
|
|
|
[![Python](https://img.shields.io/badge/python-3.8.0-blue.svg?style=flat-square)](https://www.python.org/downloads/release/python-362/)
|
|
|
|
[![Django](https://img.shields.io/badge/django-3.2.9-blue.svg?style=flat-square)](https://www.djangoproject.com/)
|
|
|
|
[![Django Rest Framework](https://img.shields.io/badge/django_rest_framework-3.12.0-blue.svg?style=flat-square)](http://www.django-rest-framework.org/)
|
2017-12-06 06:16:44 +00:00
|
|
|
[![Build Status](https://travis-ci.org/QingdaoU/OnlineJudge.svg?branch=master)](https://travis-ci.org/QingdaoU/OnlineJudge)
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2019-01-12 15:15:27 +00:00
|
|
|
> #### An onlinejudge system based on Python and Vue. [Demo](https://qduoj.com)
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2018-07-29 14:21:41 +00:00
|
|
|
[中文文档](README-CN.md)
|
2016-02-17 12:12:08 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
## Overview
|
2016-02-18 01:24:41 +00:00
|
|
|
|
2017-12-12 09:02:13 +00:00
|
|
|
+ Based on Docker; One-click deployment
|
|
|
|
+ Separated backend and frontend; Modular programming; Micro service
|
|
|
|
+ ACM/OI rule support; realtime/non-realtime rank support
|
2017-11-29 13:44:05 +00:00
|
|
|
+ Amazing charting and visualization
|
2017-12-12 09:02:13 +00:00
|
|
|
+ Template-problem support
|
2017-11-29 13:44:05 +00:00
|
|
|
+ More reasonable permission control
|
|
|
|
+ Multi-language support: `C`, `C++`, `Java`, `Python2`, `Python3`
|
2017-11-30 01:42:16 +00:00
|
|
|
+ Markdown & MathJax support
|
|
|
|
+ Contest participants IP limit(CIDR)
|
2016-01-19 06:01:49 +00:00
|
|
|
|
2017-12-12 09:02:13 +00:00
|
|
|
Main modules are available below:
|
2016-01-19 06:01:49 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
+ Backend(Django): [https://github.com/QingdaoU/OnlineJudge](https://github.com/QingdaoU/OnlineJudge)
|
|
|
|
+ Frontend(Vue): [https://github.com/QingdaoU/OnlineJudgeFE](https://github.com/QingdaoU/OnlineJudgeFE)
|
2017-11-30 01:42:16 +00:00
|
|
|
+ Judger Sandbox(Seccomp): [https://github.com/QingdaoU/Judger](https://github.com/QingdaoU/Judger)
|
2017-11-29 13:44:05 +00:00
|
|
|
+ JudgeServer(A wrapper for Judger): [https://github.com/QingdaoU/JudgeServer](https://github.com/QingdaoU/JudgeServer)
|
2015-09-22 08:26:42 +00:00
|
|
|
|
2017-11-30 01:42:16 +00:00
|
|
|
## Installation
|
2016-03-28 11:00:19 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
Follow me: [https://github.com/QingdaoU/OnlineJudgeDeploy/tree/2.0](https://github.com/QingdaoU/OnlineJudgeDeploy/tree/2.0)
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2017-12-01 12:15:10 +00:00
|
|
|
## Documents
|
|
|
|
|
2021-07-02 14:10:50 +00:00
|
|
|
[http://opensource.qduoj.com/](http://opensource.qduoj.com/)
|
2017-12-01 12:15:10 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
## Screenshots
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
### Frontend:
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![problem-list](https://user-images.githubusercontent.com/20637881/33372506-402022e4-d539-11e7-8e64-6656f8ceb75a.png)
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![problem-details](https://user-images.githubusercontent.com/20637881/33372507-4061a782-d539-11e7-8835-076ddae6b529.png)
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![statistic-info](https://user-images.githubusercontent.com/20637881/33372508-40a0c6ce-d539-11e7-8d5e-024541b76750.png)
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![contest-list](https://user-images.githubusercontent.com/20637881/33372509-40d880dc-d539-11e7-9eba-1f08dcb6b9a0.png)
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2017-11-30 03:35:48 +00:00
|
|
|
You can control the menu and chart status in rankings.
|
2017-12-12 09:02:13 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![acm-rankings](https://user-images.githubusercontent.com/20637881/33372510-41117f68-d539-11e7-9947-70e60bad3cf2.png)
|
2017-12-12 09:02:13 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![oi-rankings](https://user-images.githubusercontent.com/20637881/33372511-41d406fa-d539-11e7-9947-7a2a088785b0.png)
|
2015-09-15 11:12:50 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![status](https://user-images.githubusercontent.com/20637881/33372512-420ba240-d539-11e7-8645-594cac4a0b78.png)
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![status-details](https://user-images.githubusercontent.com/20637881/33365523-787bd0ea-d523-11e7-953f-dacbf7a506df.png)
|
|
|
|
|
|
|
|
![user-home](https://user-images.githubusercontent.com/20637881/33365521-7842d808-d523-11e7-84c1-2e2aa0079f32.png)
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-11-30 01:42:16 +00:00
|
|
|
### Admin:
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![admin-users](https://user-images.githubusercontent.com/20637881/33372516-42c34fda-d539-11e7-9f4e-5109477f83be.png)
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![judge-server](https://user-images.githubusercontent.com/20637881/33372517-42faef9e-d539-11e7-9f17-df9be3583900.png)
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![create-problem](https://user-images.githubusercontent.com/20637881/33372513-42472162-d539-11e7-8659-5497bf52dbea.png)
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
![create-contest](https://user-images.githubusercontent.com/20637881/33372514-428ab922-d539-11e7-8f68-da55dedf3ad3.png)
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-12-01 12:15:10 +00:00
|
|
|
## Browser Support
|
|
|
|
|
2017-12-12 09:02:13 +00:00
|
|
|
Modern browsers(chrome, firefox) and Internet Explorer 10+.
|
2017-12-01 12:15:10 +00:00
|
|
|
|
2017-12-12 09:02:13 +00:00
|
|
|
## Thanks
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-12-12 09:02:13 +00:00
|
|
|
+ I'd appreciate a star if you find this helpful.
|
|
|
|
+ Thanks to everyone that contributes to this project.
|
|
|
|
+ Special thanks to [heb1c](https://github.com/hebicheng), who has given us a lot of suggestions.
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-11-29 13:44:05 +00:00
|
|
|
## License
|
2017-11-29 09:01:48 +00:00
|
|
|
|
2017-12-12 09:02:13 +00:00
|
|
|
[MIT](http://opensource.org/licenses/MIT)
|