From 8ec10d49045edc67253d7825f8cc6942fba46a3c Mon Sep 17 00:00:00 2001 From: Kairee Wu Date: Wed, 8 Apr 2020 01:17:07 +0800 Subject: [PATCH] docs: remove readme for traditional Chinese [skip ci] --- README.md | 19 +++++++++--------- README.zh_CN.md | 16 ++++++++-------- README.zh_TW.md | 51 ------------------------------------------------- 3 files changed, 17 insertions(+), 69 deletions(-) delete mode 100644 README.zh_TW.md diff --git a/README.md b/README.md index f0e41ae..d374b4e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Web UI for ServerStatus -**English** | [简体中文](README.zh_CN.md) | [繁體中文](README.zh_TW.md) +**English** | [简体中文](README.zh_CN.md) This is a web ui for [BotoX's ServerStatus](https://github.com/BotoX/ServerStatus/). @@ -10,8 +10,6 @@ This is a web ui for [BotoX's ServerStatus](https://github.com/BotoX/ServerStatu [![downloads](https://img.shields.io/github/downloads/krwu/ServerStatus-web/total)](https://github.com/krwu/ServerStatus-web/releases) [![GitHub](https://img.shields.io/github/license/krwu/ServerStatus-web)](https://github.com/krwu/ServerStatus-web/blob/master/COPYING.txt) - - ## Live demo: [https://udev.bid/sergate/](https://udev.bid/sergate/) @@ -34,13 +32,14 @@ You MUST install and run [BotoX's ServerStatus](https://github.com/BotoX/ServerS 4. Install dependecies with npm / yarn. 5. Run `npm run build` to build web files. - ``` bash - git clone https://github.com/krwu/ServerStatus-web.git - cd ./ServerStatus-web/ - ## you can also run "yarn" instead of the next command - npm i - npm run build - ``` + ```bash + git clone https://github.com/krwu/ServerStatus-web.git + cd ./ServerStatus-web/ + ## you can also run "yarn" instead of the next command + npm i + npm run build + ``` + 6. Copy all files in the `build` directory to your web directory of ServerStatus(you can delete all files except `json/status.json` in it, this is recommended). --- diff --git a/README.zh_CN.md b/README.zh_CN.md index d79dec5..df924ff 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -1,6 +1,6 @@ # Web UI for ServerStatus -[English](README.md) | **简体中文** | [繁體中文](README.zh_TW.md) +[English](README.md) | **简体中文** 本项目是为 [BotoX's ServerStatus](https://github.com/BotoX/ServerStatus/) 开发的前端展示界面. @@ -32,13 +32,13 @@ 3. 进入项目根目录(或解压后的文件夹)。 4. 通过 npm(推荐) 或者 yarn 安装依赖项。 5. 执行 `npm run build` 来编译 web 文件: - ``` bash - git clone https://github.com/krwu/ServerStatus-web.git - cd ./ServerStatus-web/ - ## 你也可以用 yarn 代替下面的 npm - npm i - npm run build - ``` + ```bash + git clone https://github.com/krwu/ServerStatus-web.git + cd ./ServerStatus-web/ + ## 你也可以用 yarn 代替下面的 npm + npm i + npm run build + ``` 6. 把 `build` 目录下的所有文件上传到你的 ServerStatus 的 web 目录(推荐操作:你可以先删除**原目录**下除了 `json/status.json` 以外的所有文件)。 --- diff --git a/README.zh_TW.md b/README.zh_TW.md deleted file mode 100644 index 9452216..0000000 --- a/README.zh_TW.md +++ /dev/null @@ -1,51 +0,0 @@ -# Web UI for ServerStatus - -[English](README.md) | [简体中文](README.zh_CN.md) | **繁體中文** - -本專案是為 [BotoX's ServerStatus](HTTPs://github.com/BotoX/ServerStatus/) 開發的前端展示介面. - -[![Build Status](https://travis-ci.com/krwu/ServerStatus-web.svg?branch=master)](https://travis-ci.com/krwu/ServerStatus-web) -![GitHub release (latest by date)](https://img.shields.io/github/v/release/krwu/ServerStatus-Web) -[![GitHub All Releases](https://img.shields.io/github/downloads/krwu/ServerStatus-web/total)](https://github.com/krwu/ServerStatus-web/releases) -[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) -[![GitHub](https://img.shields.io/github/license/krwu/ServerStatus-web)](https://github.com/krwu/ServerStatus-web/blob/master/COPYING.txt) -![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/krwu/ServerStatus-Web/react) - - -## 演示: - -[htts://udev.bid/sergate/](https://udev.bid/sergate/) - -## 使用方法: - -你必須首先成功安裝和運行 [BotoX's ServerStatus](HTTPs://github.com/BotoX/ServerStatus/)。 因為這個專案僅僅是一個可以隨插即用的可替換的 web 介面。 - -- ### **使用預編譯版:** - -1. 從 [release 頁面](HTTPs://github.com/krwu/ServerStatus-web/releases)下載最新的預編譯壓縮包。 -2. 解壓下載的檔。 -3. 把 `sergate` 目錄下的所有檔上傳到你的 ServerStatus 的 web 目錄(推薦操作:你可以先刪除**原目錄**下除了 `json/status.json` 以外的所有檔)。 - -- ### **自行編譯:** - -1. 你需要安裝有 Node.js, npm 或者 yarn. -2. 克隆本專案,或者下載打包的原始程式碼到你的機器。 -3. 進入專案根目錄(或解壓後的資料夾)。 -4. 通過 npm(推薦) 或者 yarn 安裝依賴項。 -5. 執行 `npm run build` 來編譯 web 檔: - ```bash - git 克隆HTTPs://github.com/krwu/ServerStatus-web.git - cd ./伺服器狀態-Web/ - ## 你也可以用 yarn 代替下面的 npm - npm i - npm 運行生成 - ``` -6. 把 `build` 目錄下的所有檔上傳到你的 ServerStatus 的 web 目錄(推薦操作:你可以先刪除**原目錄**下除了 `json/status.json` 以外的所有檔)。 - ---- - -## 特別鳴謝 - -[![Jetbrains Logo](https://krwu.github.io/img/jetbrains.svg)](https://www.jetbrains.com/?from=WebUiForServerStatus) - -非常感謝 [Jetbrains](https://www.jetbrains.com/?from=WebUiForServerStatus) 對這個小小開源專案的支援! 我一直是 PhpStorm 和 WebStorm 的死忠粉,它們是最棒的開發工具。