Add first time setup instructions for default superuser account in README files
This commit is contained in:
@@ -42,6 +42,11 @@ npm run dev
|
|||||||
|
|
||||||
Visit `http://localhost:5173`
|
Visit `http://localhost:5173`
|
||||||
|
|
||||||
|
**First Time Setup**: On first run, a default superuser account will be automatically created:
|
||||||
|
- Username: `admin`
|
||||||
|
- Password: `admin123456`
|
||||||
|
- **IMPORTANT**: Please change the password immediately after first login for security!
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Backend `.env` key settings:
|
Backend `.env` key settings:
|
||||||
|
|||||||
@@ -42,6 +42,11 @@ npm run dev
|
|||||||
|
|
||||||
访问 `http://localhost:5173`
|
访问 `http://localhost:5173`
|
||||||
|
|
||||||
|
**首次运行**: 第一次运行时会自动初始化一个超级管理员账户:
|
||||||
|
- 用户名:`admin`
|
||||||
|
- 密码:`admin123456`
|
||||||
|
- **重要**: 强烈建议登录后立刻修改密码!
|
||||||
|
|
||||||
## 配置
|
## 配置
|
||||||
|
|
||||||
后端 `.env` 关键配置:
|
后端 `.env` 关键配置:
|
||||||
|
|||||||
Reference in New Issue
Block a user