9 Commits

Author SHA1 Message Date
703fe75a76 添加注释 2024-10-03 00:17:56 +08:00
d24926daeb 添加注释 2024-10-03 00:14:08 +08:00
80ee613746 添加注释 2024-10-03 00:13:57 +08:00
851d1b0b7f 添加注释 2024-10-02 23:03:54 +08:00
f12858a876 添加注释 2024-10-02 23:03:19 +08:00
a0c84037e8 添加注释 2024-10-02 23:02:24 +08:00
25e137b6db first comm 2024-10-02 12:55:24 +08:00
c9d6265b9c first comm 2024-10-02 12:52:51 +08:00
95667b454e first comm 2024-10-02 12:51:11 +08:00
3 changed files with 12 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ _✨ 服务器状态 - 客户端 ✨_
Debian系请使用pipx安装 Debian系请使用pipx安装
```bash ```bash
sudo apt install python3-pipx sudo apt install pipx
pipx install server-status pipx install server-status
``` ```
@@ -80,3 +80,7 @@ EOF'
sudo systemctl enable server-status-client sudo systemctl enable server-status-client
sudo systemctl start server-status-client sudo systemctl start server-status-client
``` ```
### 服务端
请在中心服务器上部署 [server-status-server](https://github.com/snowykami/server-status-server)

View File

@@ -18,11 +18,13 @@ license = {text = "MIT"}
requires = ["pdm-backend"] requires = ["pdm-backend"]
build-backend = "pdm.backend" build-backend = "pdm.backend"
[project.scripts]
server-status = "server_status.__main__"
[tool.pdm] [tool.pdm]
distribution = true distribution = true
[tool.pdm.version] [tool.pdm.version]
source = "scm" source = "scm"
tag_filter = "test/*" tag_filter = "v*"
tag_regex = '^test/(?:\D*)?(?P<version>([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|c|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$)$' tag_regex = '^v(?:\D*)?(?P<version>([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|c|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$)$'