优化install安装流程
This commit is contained in:
34
README.md
34
README.md
@@ -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。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user