Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit fe9bb5a

Browse files
KamToHungiFurySt
authored andcommitted
docs: Update local development instructions for mock-server and web frontend
1 parent 001bb77 commit fe9bb5a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/development/local-development.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,19 @@ apiserver 默认会在 `http://localhost:5234` 上启动。
8484
go run cmd/mock-server/main.go
8585
```
8686

87-
mock-server 默认会在 `http://localhost:5235` 上启动。
87+
mock-server 默认会在 `http://localhost:5236` 上启动。
88+
89+
mock-server-sse 默认会在 `http://localhost:5237` 上启动。
8890

8991
#### 4.4 启动 web 前端
9092

9193
```bash
9294
npm run dev
9395
```
9496

95-
web 前端默认会在 `http://localhost:5236` 上启动
97+
web 终端运行命令后,会显示访问的地址
9698

97-
此时你就可以在浏览器中访问 http://localhost:5236 来访问管理界面了,默认用户名和密码根据你环境变量(根目录的.env文件)来决定,环境变量是`SUPER_ADMIN_USERNAME``SUPER_ADMIN_PASSWORD`,登录后可以在管理界面中修改用户名和密码
99+
此时你就可以在浏览器中访问终端显示的地址来访问管理界面了,默认用户名和密码根据你环境变量(根目录的.env文件)来决定,环境变量是`SUPER_ADMIN_USERNAME``SUPER_ADMIN_PASSWORD`,登录后可以在管理界面中修改用户名和密码
98100

99101

100102
## 常见问题

0 commit comments

Comments
 (0)