mirror of
https://github.com/snowykami/server-status-client.git
synced 2024-11-29 08:45:23 +08:00
✨ 修复脚本执行错误
This commit is contained in:
parent
87859a58f8
commit
e0aa6adbeb
34
README.md
34
README.md
@ -28,26 +28,30 @@ _✨ 服务器状态 - 客户端 ✨_
|
|||||||
|
|
||||||
- Linux 可使用脚本安装,带自动部署和自启动
|
- Linux 可使用脚本安装,带自动部署和自启动
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo bash -c "$(curl -sSL https://raw.githubusercontent.com/snowykami/server-status-client/refs/heads/main/deploy.sh)"
|
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
|
```shell
|
||||||
# 克隆仓库
|
# 克隆仓库
|
||||||
git clone https://github.com/snowykami/server-status-client
|
git clone https://github.com/snowykami/server-status-client
|
||||||
cd server-status-client
|
cd server-status-client
|
||||||
|
|
||||||
# 配置环境
|
# 配置环境
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
# 安装依赖
|
# 安装依赖
|
||||||
pip install pdm
|
pip install pdm
|
||||||
pdm install
|
pdm install
|
||||||
|
|
||||||
# 如需自启动请自行添加到系统服务
|
# 如需自启动请自行添加到系统服务
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🎉 使用
|
## 🎉 使用
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user