环境配置文件修改
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ artifacts
|
||||
tests
|
||||
scripts
|
||||
.env
|
||||
.env.*
|
||||
.env
|
||||
ai.local.json
|
||||
*.log
|
||||
*.sql
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
APP_PORT=8004
|
||||
DB_PORT=3306
|
||||
DB_NAME=student_management_system
|
||||
DB_USER=root
|
||||
DB_PASSWORD=replace_with_your_existing_mysql_password
|
||||
# AI 默认只读挂载现有 ai.local.json,也可以设置以下环境变量覆盖。
|
||||
DEEPSEEK_API_KEY=
|
||||
DEEPSEEK_MODEL=
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
4. 保留项目中的 `ai.local.json`;新电脑没有该文件时,复制 `ai.local.example.json` 为 `ai.local.json` 并按需配置 AI。
|
||||
|
||||
```powershell
|
||||
Set-Location 'D:\python编程\student_management_system'
|
||||
Set-Location 'D:\xwt0803\fastoffer\student_management_system'
|
||||
docker compose up -d --build
|
||||
docker compose ps
|
||||
```
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"api_key": "",
|
||||
"api_key": "sk-7d3a24128a004670a47970aa07eb49da",
|
||||
"model": "deepseek-flash"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user