This commit is contained in:
hukdoesn
2025-07-15 16:21:03 +08:00
parent 7f7cd9b333
commit e8bf8123b0
2 changed files with 6 additions and 5 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) # 确保目录存在,包括父目录

View File

@@ -1,9 +1,10 @@
[client]
host = 127.0.0.1
#host = 127.0.0.1
#host = mysql
#host = liteops-mysql
host = liteops-mysql
port = 3306
database = liteops_dev
#database = liteops_dev
database = liteops
user = root
password = 1234567xx
default-character-set = utf8mb4