sync: 多文件 | 原因: 本地开发更新
This commit is contained in:
@@ -48,12 +48,12 @@ cd soul-api
|
||||
### 2.2 启动管理后台(soul-admin)
|
||||
|
||||
```bash
|
||||
npx serve soul-admin/dist -p 5174
|
||||
cd soul-admin && pnpm dev
|
||||
```
|
||||
|
||||
- 访问:http://localhost:5174
|
||||
- API 地址:默认请求 `https://soulapi.quwanzhi.com`;开发模式会切到 `https://souldev.quwanzhi.com`
|
||||
- **本机联调**:在 `/etc/hosts` 添加 `127.0.0.1 soulapi.quwanzhi.com`,则管理后台会请求本机 8080
|
||||
- API 地址:本地开发自动请求 `http://localhost:8080`(见 `.env.development`)
|
||||
- Mac 无法运行 soul-api 时:可临时改 `.env.development` 为 `VITE_API_BASE_URL=https://souldev.quwanzhi.com`
|
||||
|
||||
### 2.3 启动主站(soul 主站)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user