Skip to content

Commit

Permalink
docs: i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangt2333 committed Oct 27, 2023
1 parent 1b52708 commit 440f348
Show file tree
Hide file tree
Showing 13 changed files with 724 additions and 221 deletions.
9 changes: 6 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
* text=auto
*.js text eol=lf
*.md text eol=lf
*.md -linguist-documentation linguist-language=Java
* text eol=lf
*.js linguist-language=Java
*.css linguist-language=Java
*.ts linguist-language=Java
*.tsx linguist-language=Java
*.json linguist-language=Java
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<p align="center">
[中文]
<a href="./README_EN.md">[English]</a>
</p>

<br>

<img align="right" src="website/static/img/sduoj-logo.svg" width=200 />

*如果觉得对您有帮助或者对该产品感兴趣,请您给点一个 Star,谢谢!*
Expand Down Expand Up @@ -25,7 +32,7 @@
<tr>
<td>
<h3>多业务场景</h3>
<p>评测模板、一题多面、虚拟评测、国际赛制(ACM/OI/IOI),广泛适用于实验训练、学生测试、赛事举办等场景</p>
<p>评测模板、一题多面、虚拟评测、国际赛制(ICPC/OI/IOI),广泛适用于实验训练、学生测试、赛事举办等场景</p>
</td>
<td>
<h3>分布式架构</h3>
Expand All @@ -44,7 +51,7 @@
* 基于 Docker,公有云或物理机,均可一键部署!
* 前后端分离,分布式微服务架构,可单独对某个服务动态扩缩容以应对不同场景的流量压力!
* 评测机的多核平台调度方案,单点评测、多点评测,按需配置! <img src="website/static/img/home/image-20201122203804615.png" width=330 align="center"/>
* 多种国际赛制支持(ACM/OI/IOI)!
* 多种国际赛制支持(ICPC/OI/IOI)!
* 评测模板,可自定义添加多语言支持!更有进阶模式支持数据结构课设、汇编语言实验、操作系统课设等个性化评测场景!
* 一题多面,同一道题目,可有多个题面!可支持中文、英文、俄文等多语言!可支持复杂、精炼、变形题面等多形式!
* Markdown & HTML 题面支持,随意创作丰富多彩的题面!
Expand Down
224 changes: 224 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
<p align="center">
<a href="./README.md">[中文]</a>
[English]
</p>
<br>

<img align="right" src="website/static/img/sduoj-logo.svg" width=200 />

*If you find this helpful or interesting, please give it a star. Thank you!*

# SDUOJ/[Online Judge](https://sduoj.online)

[![Java](https://img.shields.io/badge/Java-8-informational)](http://openjdk.java.net/)
[![WebSite](https://img.shields.io/website?up_message=sduoj.online&url=https%3A%2F%2Fsduoj.online%2F)](https://sduoj.online/)
[![Spring Boot](https://img.shields.io/badge/Spring%20Boot-2.1.12-success)](https://spring.io/projects/spring-boot)
[![Spring Cloud](https://img.shields.io/badge/Spring%20Cloud-Greenwich.SR5-success)](https://spring.io/projects/spring-cloud)
[![Spring Cloud Alibaba](https://img.shields.io/badge/Spring%20Cloud%20Alibaba-2.1.2-success)](https://spring.io/projects/spring-cloud-alibaba)
[![MySQL](https://img.shields.io/badge/MySQL-8-blue)](https://www.mysql.com/)
[![Vue](https://img.shields.io/badge/Vue-2.6.11-success)](https://vuejs.org/)
[![License](https://img.shields.io/github/license/SDUOJ/OnlineJudge)](https://github.com/SDUOJ/OnlineJudge/blob/main/LICENSE)
[![Github Star](https://img.shields.io/github/stars/SDUOJ?style=social)](https://github.com/SDUOJ/OnlineJudge)

> SDUOJ is an open-source online judge (OJ)
>
> [→ View Documentation](https://sduoj.online)
>
<br />

<table>
<tr>
<td>
<h3>Multiple Business Scenarios</h3>
<p>Judging-template, multi-description problem, virtual judge, international competition formats (ICPC/OI/IOI), suitable for algorithm training, student exams, competition hosting, and other scenarios</p>
</td>
<td>
<h3>Distributed Architecture</h3>
<p>Based on microservices design, detailed modules are more suitable for business iterations. Distributed architecture supports high concurrency, high fault tolerance, and high availability.</p>
</td>
<td>
<h3>Container-level Delivery</h3>
<p>Offers Docker images for one-click deployment on cloud or physical machines. Easily scale up or down to accommodate different traffic scenarios and evaluation pressures.</p>
</td>
</tr>
</table>


## Overview

* Based on Docker, deployable with one click on clouds or physical machines!
* Frontend and backend separation with distributed microservices architecture. Dynamically scale individual services to handle different traffic pressures!
* Judging system with multi-core scheduling. Single-point or multi-point judging are configurable! <img src="website/static/img/home/image-20201122203804615.png" width=330 align="center"/>
* Supports various international competition formats (ICPC/OI/IOI)!
* Judge templates allow for custom multi-language support! Advanced modes support personalized judging scenarios such as data-structure coursework, assembly language experiments, and operating system projects!
* Multi-description problems, where a single problem can have multiple description! Supports languages like Chinese, English, Russian, and formats like complex, concise, or altered presentations!
* Markdown & HTML description support, create colorful and diverse problems!
* Dynamic judging, real-time results after submission for each checkpoint!
* Multiple checkpoints, separate scoring, dynamic order adjustment of checkpoints, and direct selection of checkpoints as problem examples!
* ~~Virtual judge, supporting remote submissions to several well-known OJ systems, accumulating valuable data assets for the future!~~


## Repositories

| Repositories | Description |
| ------------------------------------------------------------ | ------------------------------------ |
| [SDUOJ/OnlineJudge](https://github.com/SDUOJ/OnlineJudge) | Main repository, documentation, Issue Tracker |
| [SDUOJ/sduoj-server](https://github.com/SDUOJ/sduoj-server) | Backend code |
| [SDUOJ/sduoj-web](https://github.com/SDUOJ/sduoj-web) | User frontend code |
| [SDUOJ/sduoj-manage](https://github.com/SDUOJ/sduoj-manage) | Manager frontend code |
| [SDUOJ/sduoj-judger](https://github.com/SDUOJ/sduoj-judger) | Judger code |
| [SDUOJ/sduoj-sandbox](https://github.com/SDUOJ/sduoj-sandbox) | Sandbox code |
| [SDUOJ/sduoj-deploy](https://github.com/SDUOJ/sduoj-deploy) | Deploying Code, with Docker Compose Scripts |

### Website Screenshots

[See User Manual](https://sduoj.online/docs/manual/user/home)

<img src="website/static/img/home/image-20201122210911513.png" style="zoom:80%;" />

<img src="website/static/img/home/image-20201122211144679.png" style="zoom:80%;" />

<img src="website/static/img/home/image-20201122211232174.png" style="zoom:80%;" />

<img src="website/static/img/home/image-20201122212148575.png" style="zoom:80%;" />

<details>
<summary>Click here for More Screenshots</summary>
<br>

<img src="website/static/img/home/image-20201122210935648.png" style="zoom:80%;" />

<img src="website/static/img/home/image-20201122211308172.png" style="zoom:80%;" />


<img src="website/static/img/home/image-20201122212415897.png" style="zoom:80%;" />

<img src="website/static/img/home/image-20201122212452051.png" style="zoom:80%;" />

<img src="website/static/img/home/image-20201122212524787.png" style="zoom:80%;" />

<img src="website/static/img/home/image-20201122212606712.png" style="zoom:80%;" />

<img src="website/static/img/home/image-20201122212903607.png" style="zoom:80%;" />

<img src="website/static/img/home/image-20201122212835905.png" style="zoom:80%;" />

</details>

## Deployment

Architecture diagram:<img src="website/static/img/home/image-20201122204545807.png" width=650 align="center"/>

[How to deploy quickly based on Docker Compose?](https://sduoj.online/docs/deployment/docker-compose)

## Browser Support

For Vue frontend:
- Modern browsers (chrome, firefox) 和 Internet Explorer 10+.

For React frontend:
- Microsoft Edge (85+), Google Chrome (85+), Mozilla Firefox (79+), Apple Safari (13.4+), Internet Explorer is not supported

## Our Team
<table>
<tr>
<td align="center">
<img src="https://github.com/zhangt2333.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/zhangt2333" target="_blank">zhangt2333</a>
<br />
<strong> Leader, Backend </strong>
</td>
<td align="center">
<img src="https://github.com/yhf2000.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/yhf2000" target="_blank">yhf2000</a>
<br />
<strong> Leader, Frontend </strong>
</td>
<td align="center">
<img src="https://github.com/jesHrz.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/jesHrz" target="_blank">jesHrz</a>
<br />
<strong> Leader, Sandbox </strong>
</td>
</tr>
<tr>
<td align="center">
<img src="https://github.com/koi2000.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/koi2000" target="_blank">koi2000</a>
<br />
<strong> Backend </strong>
</td>
<td align="center">
<img src="https://github.com/HYLazy.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/HYLazy" target="_blank">HYLazy</a>
<br />
<strong> Backend </strong>
</td>
<td align="center">
<img src="https://github.com/zhaoyifan0528.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/zhaoyifan0528" target="_blank">zhaoyifan0528</a>
<br />
<strong> Backend </strong>
</td>
</tr>
<tr>
<td align="center">
<img src="https://github.com/OldAtaraxia.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/OldAtaraxia" target="_blank">OldAtaraxia</a>
<br />
<strong> Backend </strong>
</td>
<td align="center">
<img src="https://github.com/zhr2001.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/zhr2001" target="_blank">zhr2001</a>
<br />
<strong> Frontend </strong>
</td>
<td align="center">
<img src="https://github.com/sys16384.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/sys16384" target="_blank">sys16384</a>
<br />
<strong> Plagiarism Detection </strong>
</td>
</tr>
<tr>
<td align="center">
<img src="https://github.com/GeneLiuXe.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/GeneLiuXe" target="_blank">GeneLiuXe</a>
<br />
<strong> Honorary Mem. </strong>
</td>
<td align="center">
<img src="https://github.com/suxb201.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/suxb201" target="_blank">suxb201</a>
<br />
<strong> Honorary Mem. </strong>
</td>
<td align="center">
<img src="https://github.com/Xrvitd.png?s=64" width="65px;"/>
<br />
<a href="https://github.com/Xrvitd" target="_blank">Xrvitd</a>
<br />
<strong> Honorary Mem. </strong>
</td>
</tr>
</table>



## License

Released under the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.en.html).

7 changes: 0 additions & 7 deletions website/docs/deployment/home.md

This file was deleted.

9 changes: 6 additions & 3 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ const config = {
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: "zh",
locales: ["zh"],
locales: ["zh", "en"],
path: "i18n",
localeConfigs: {
zh: {
label: "简体中文",
},
en: {
label: "English",
},
},
},
Expand Down Expand Up @@ -80,13 +83,13 @@ const config = {
type: "docSidebar",
sidebarId: "manualSidebar",
position: "left",
label: "使用手册",
label: "使用指南",
},
{
type: "docSidebar",
sidebarId: "deploymentSidebar",
position: "left",
label: "部署手册",
label: "部署指南",
},
{
href: "https://github.com/sduoj/OnlineJudge",
Expand Down
Loading

0 comments on commit 440f348

Please sign in to comment.