📃 docs: 优化部署方式

This commit is contained in:
hukdoesn
2025-07-11 16:30:39 +08:00
parent f79a0e1e5a
commit 289eb62cef
3 changed files with 88 additions and 77 deletions

View File

@@ -194,6 +194,6 @@ STATIC_URL = 'static/'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
# 构建相关配置
BUILD_ROOT = Path('/Users/huk/Downloads/data') # 修改为指定目录
# BUILD_ROOT = Path('/data')
# BUILD_ROOT = Path('/Users/huk/Downloads/data') # 修改为指定目录
BUILD_ROOT = Path('/data')
BUILD_ROOT.mkdir(exist_ok=True, parents=True) # 确保目录存在,包括父目录