docs: README 增加服务器 git pull 更新说明

Made-with: Cursor
This commit is contained in:
xiaobai committed 2026-03-21 20:52:09 +08:00
1 parent a089da31cd
commit 9d9509a26b
1 file changed
+11
+11
View File
@@ -4,6 +4,17 @@
无浏览器依赖,使用 `curl_cffi` 模拟 Chrome TLS 指纹。 无浏览器依赖,使用 `curl_cffi` 模拟 Chrome TLS 指纹。
## 服务器上更新代码
本仓库已接 **Git**(勿把 `accounts/oauth/*.json`、`.env` 提交进库,见 `.gitignore`)。
```bash
cd /path/to/protocol_chatgpt
git pull origin main
.venv/bin/pip install -r requirements.txt # 依赖有变时
# 维护台若用 systemd,改代码后: sudo systemctl restart <你的服务名>
```
## 安装 ## 安装
```bash ```bash