优化install安装流程

This commit is contained in:
2026-03-18 17:15:01 +08:00
parent 299c012063
commit e8c77943b5
32 changed files with 330 additions and 74 deletions

View File

@@ -159,24 +159,32 @@ php webman migrate
### 5.5 启动
**Linux / Mac**
**开发环境需同时启动后端与前端**
```bash
php start.php start
```
1. **启动后端API 服务,端口 8787**
**Windows**
**Linux / Mac**
```bash
php start.php start
```
```bash
php windows.php
```
**Windows**
```bash
php windows.php
```
### 5.6 前端开发
2. **启动前端Vue 开发服务,端口 1818**
```bash
cd web
pnpm dev
```
```bash
cd web
pnpm dev
```
3. **访问地址:**
- 安装向导http://localhost:1818/install/
- 前台地址http://localhost:1818/index.html/#/
- 后台地址http://localhost:1818/index.html/#/admin
> 注意:前端通过 Vite 代理将 `/api`、`/admin`、`/install` 转发到后端 8787 端口,请勿直接访问 8787 端口的前端页面,否则可能出现 404。
---