Remove deprecated files and scripts related to cron jobs and WeChat server functionality. Update README to include new server startup methods using uWSGI and Gunicorn. Ensure callback server configuration is loaded properly in production environments. Clean up unnecessary test scripts and example files to streamline the project structure.

This commit is contained in:
2026-01-08 21:59:39 +08:00
parent 85cd7e9d3e
commit 4000438f49
45 changed files with 312 additions and 9057 deletions
+26 -4
View File
@@ -98,11 +98,33 @@ python test_wechat_server.py
### 3. 启动回调服务器
```bash
# 方法1:使用专用启动脚本
python start_wechat_server.py
#### 方法1:使用 uWSGI(推荐生产环境)
# 方法2:使用主程序
```bash
# 使用启动脚本
./start_uwsgi_server.sh
# 或直接启动
uwsgi --ini uwsgi_wechat.ini
```
#### 方法2:使用 Gunicorn
```bash
# 使用启动脚本
./start_wechat_server.sh
# 或直接启动
gunicorn --bind 0.0.0.0:18001 app:app
```
#### 方法3:开发环境启动
```bash
# 使用专用启动脚本
python wechat_server.py
# 或使用主程序
python gx_gp_monitor/main.py wechat-server
```