From e0aa6adbeb87a4aecc28e3c422648c76fe5a7b15 Mon Sep 17 00:00:00 2001 From: snowykami Date: Sat, 5 Oct 2024 22:48:40 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=BF=AE=E5=A4=8D=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E6=89=A7=E8=A1=8C=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index facfa05..e77197e 100644 --- a/README.md +++ b/README.md @@ -28,26 +28,30 @@ _✨ 服务器状态 - 客户端 ✨_ - Linux 可使用脚本安装,带自动部署和自启动 -```shell -sudo bash -c "$(curl -sSL https://raw.githubusercontent.com/snowykami/server-status-client/refs/heads/main/deploy.sh)" -``` + ```shell + sudo bash -c "$(curl -sSL https://raw.githubusercontent.com/snowykami/server-status-client/refs/heads/main/deploy.sh)" + ``` + 如果无法访问 GitHub,可以使用以下地址 + ```shell + sudo bash -c "$(curl -sSL https://git.liteyuki.icu/snowykami/server-status-client/raw/branch/main/deploy.sh)" + ``` - 或手动部署 -```shell -# 克隆仓库 -git clone https://github.com/snowykami/server-status-client -cd server-status-client - -# 配置环境 -python3 -m venv venv -source venv/bin/activate -# 安装依赖 -pip install pdm -pdm install - -# 如需自启动请自行添加到系统服务 -``` + ```shell + # 克隆仓库 + git clone https://github.com/snowykami/server-status-client + cd server-status-client + + # 配置环境 + python3 -m venv venv + source venv/bin/activate + # 安装依赖 + pip install pdm + pdm install + + # 如需自启动请自行添加到系统服务 + ``` ## 🎉 使用