- requirements/production-windows.txt:Windows 专用生产依赖,用 waitress 替代 不支持 Windows 的 gunicorn - deploy/windows/serve-backend.ps1:waitress WSGI 启动脚本 - deploy/windows/install-nssm-services.ps1:用 NSSM 将前后端注册为 Windows 服务 - deploy/windows/nginx-wagtailcms.conf:nginx for Windows 反向代理模板(TCP 端口, 不用 unix socket) - documents/Windows服务器部署指南.md:完整部署步骤文档,并说明与 Linux 裸机 部署(systemd/gunicorn/unix socket/Redis)的差异点
11 lines
303 B
Plaintext
11 lines
303 B
Plaintext
# Windows Server 部署专用(gunicorn 依赖 fcntl/os.fork,不支持 Windows,
|
||
# 改用纯 Python 实现的 WSGI 服务器 waitress)。
|
||
# 其余依赖与 production.txt 一致。
|
||
-r base.txt
|
||
|
||
psycopg[binary]>=3.2
|
||
django-storages[s3]>=1.14
|
||
waitress>=3.0,<4.0
|
||
sentry-sdk>=2.0
|
||
whitenoise>=6.7,<7.0
|