Add web server deployment
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user