Add web server deployment

This commit is contained in:
jackyu66git
2025-04-30 11:17:50 +08:00
parent 645c66d23d
commit 8adfa1bbdc
15 changed files with 129 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
cd /path/to/your/project/user_data/Chan/web
source /path/to/your/virtualenv/bin/activate # 如果使用虚拟环境
exec gunicorn app:app -b 0.0.0.0:8123 --workers=4 --timeout 120