diff --git a/backend/backend/settings.py b/backend/backend/settings.py index 89519d4..69ac827 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -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) # 确保目录存在,包括父目录 \ No newline at end of file diff --git a/backend/conf/config.txt b/backend/conf/config.txt index e8c4f77..41a1f92 100644 --- a/backend/conf/config.txt +++ b/backend/conf/config.txt @@ -1,7 +1,7 @@ [client] -#host = 127.0.0.1 +host = 127.0.0.1 #host = mysql -host = liteops-mysql +#host = liteops-mysql port = 3306 database = liteops user = root