diff --git a/README.md b/README.md index 150cfb3..714e00c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,17 @@ 无浏览器依赖,使用 `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