mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
grab latest devcam FE release, disable intraSSH
This commit is contained in:
parent
c0219912d1
commit
ddc07e0847
@ -11,7 +11,7 @@ RUN apk add --update --no-cache build-base nginx openssl curl unzip supervisor j
|
||||
pip install --no-cache-dir -r /app/deploy/requirements.txt && \
|
||||
apk del build-base --purge
|
||||
|
||||
RUN curl -L $(curl -s https://api.github.com/repos/QingdaoU/OnlineJudgeFE/releases/latest | grep /dist.zip | cut -d '"' -f 4) -o dist.zip && \
|
||||
RUN curl -L $(curl -s https://api.github.com/repos/devcam/OnlineJudgeFE/releases/latest | grep /dist.zip | cut -d '"' -f 4) -o dist.zip && \
|
||||
unzip dist.zip && \
|
||||
rm dist.zip
|
||||
|
||||
|
||||
85
README-CN.md
85
README-CN.md
@ -1,85 +0,0 @@
|
||||
# OnlineJudge 2.0
|
||||
|
||||
[](https://www.python.org/downloads/release/python-362/)
|
||||
[](https://www.djangoproject.com/)
|
||||
[](http://www.django-rest-framework.org/)
|
||||
[](https://travis-ci.org/QingdaoU/OnlineJudge)
|
||||
|
||||
> #### 基于 Python 和 Vue 的在线评测系统。 [Demo](https://qduoj.com)
|
||||
|
||||
[English Document](README.md)
|
||||
|
||||
## 概览
|
||||
|
||||
+ 基于 Docker,真正一键部署
|
||||
+ 前后端分离,模块化编程,微服务
|
||||
+ ACM/OI 两种比赛模式、实时/非实时评判 任意选择
|
||||
+ 丰富的可视化图表,一图胜千言
|
||||
+ 支持 Template Problem,可以添加函数题甚至填空题
|
||||
+ 更细致的权限划分,超级管理员和普通管理员各司其职
|
||||
+ 多语言支持:`C`, `C++`, `Java`, `Python2`, `Python3`,题目可以选择使用的语言
|
||||
+ Markdown & MathJax 支持
|
||||
+ 比赛用户IP限制 (CIDR ranges)
|
||||
|
||||
主要模块均已开源:
|
||||
|
||||
+ 后端(Django): [https://github.com/QingdaoU/OnlineJudge](https://github.com/QingdaoU/OnlineJudge)
|
||||
+ 前端(Vue): [https://github.com/QingdaoU/OnlineJudgeFE](https://github.com/QingdaoU/OnlineJudgeFE)
|
||||
+ 判题沙箱(Seccomp): [https://github.com/QingdaoU/Judger](https://github.com/QingdaoU/Judger)
|
||||
+ 判题服务器(对Judger的封装): [https://github.com/QingdaoU/JudgeServer](https://github.com/QingdaoU/JudgeServer)
|
||||
|
||||
## 安装
|
||||
|
||||
请根据此进行安装: [https://github.com/QingdaoU/OnlineJudgeDeploy/tree/2.0](https://github.com/QingdaoU/OnlineJudgeDeploy/tree/2.0)
|
||||
|
||||
## 文档
|
||||
|
||||
[http://opensource.qduoj.com/](http://opensource.qduoj.com/)
|
||||
|
||||
## 截图
|
||||
|
||||
### OJ前台
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Rankings 中可以控制图表和菜单的显隐。
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### 后台管理
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
## 浏览器支持
|
||||
|
||||
Modern browsers(chrome, firefox) 和 Internet Explorer 10+.
|
||||
|
||||
## 特别感谢
|
||||
|
||||
+ 所有为本项目做出贡献的人
|
||||
+ [heb1c](https://github.com/hebicheng) 同学为我们提供了很多意见和建议
|
||||
|
||||
如果您觉得这个项目还不错,就star一下吧 :)
|
||||
|
||||
## 许可
|
||||
|
||||
The [MIT](http://opensource.org/licenses/MIT) License
|
||||
@ -7,8 +7,6 @@
|
||||
|
||||
> #### An onlinejudge system based on Python and Vue. [Demo](https://qduoj.com)
|
||||
|
||||
[中文文档](README-CN.md)
|
||||
|
||||
## Overview
|
||||
|
||||
+ Based on Docker; One-click deployment
|
||||
|
||||
@ -17,11 +17,12 @@ if [ ! -f "$DATA/public/website/favicon.ico" ]; then
|
||||
cp data/public/website/favicon.ico $DATA/public/website
|
||||
fi
|
||||
|
||||
SSL="$DATA/ssl"
|
||||
if [ ! -f "$SSL/server.key" ]; then
|
||||
openssl req -x509 -newkey rsa:2048 -keyout "$SSL/server.key" -out "$SSL/server.crt" -days 1000 \
|
||||
-subj "/C=CN/ST=Beijing/L=Beijing/O=Beijing OnlineJudge Technology Co., Ltd./OU=Service Infrastructure Department/CN=`hostname`" -nodes
|
||||
fi
|
||||
# disable SSL since it will be handled by the top level nginx server
|
||||
# SSL="$DATA/ssl"
|
||||
# if [ ! -f "$SSL/server.key" ]; then
|
||||
# openssl req -x509 -newkey rsa:2048 -keyout "$SSL/server.key" -out "$SSL/server.crt" -days 1000 \
|
||||
# -subj "/C=CN/ST=Beijing/L=Beijing/O=Beijing OnlineJudge Technology Co., Ltd./OU=Service Infrastructure Department/CN=`hostname`" -nodes
|
||||
# fi
|
||||
|
||||
cd $APP/deploy/nginx
|
||||
ln -sf locations.conf https_locations.conf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user