mirror of
https://github.com/opsre/LiteOps.git
synced 2026-03-06 22:10:46 +08:00
📃 docs: 优化部署方式
This commit is contained in:
@@ -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) # 确保目录存在,包括父目录
|
||||
Reference in New Issue
Block a user