Commit d3720436 by 黄南光

修改wiki查询

1 parent 501ade99
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
### 启动命令 ### 启动命令
- **后端**: `python main.py` (默认端口 8104) - **后端**: `python main.py` (默认端口 8104)
- **前端**: `cd frontend && npm run dev` (默认端口 3000) - **前端**: `cd frontend && npm run dev` (默认端口 3001)
### 数据库初始化 ### 数据库初始化
后端启动时会自动调用 `src.database.session.init_db()` 初始化 MySQL 表结构。 后端启动时会自动调用 `src.database.session.init_db()` 初始化 MySQL 表结构。
......
...@@ -33,7 +33,7 @@ python main.py ...@@ -33,7 +33,7 @@ python main.py
npm install npm install
npm run dev npm run dev
``` ```
前端将运行在 `http://127.0.0.1:3000`。 前端将运行在 `http://127.0.0.1:3001`。
## 核心功能 ## 核心功能
- **自动化摄取**: 将原始文件解析并按 Schema 转化为 Wiki 页面。 - **自动化摄取**: 将原始文件解析并按 Schema 转化为 Wiki 页面。
......
...@@ -33,6 +33,6 @@ services: ...@@ -33,6 +33,6 @@ services:
environment: environment:
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:8104} - NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:8104}
ports: ports:
- "3000:3000" - "3001:3000"
...@@ -14,7 +14,7 @@ pnpm dev ...@@ -14,7 +14,7 @@ pnpm dev
bun dev bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3001](http://localhost:3001) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
......
...@@ -64,7 +64,7 @@ echo -e "${GREEN}🎉 部署成功!系统已在后台稳定运行。${NC}" ...@@ -64,7 +64,7 @@ echo -e "${GREEN}🎉 部署成功!系统已在后台稳定运行。${NC}"
echo -e "${BLUE}=================================================${NC}" echo -e "${BLUE}=================================================${NC}"
echo -e "" echo -e ""
echo -e "${BLUE}🔗 访问地址:${NC}" echo -e "${BLUE}🔗 访问地址:${NC}"
echo -e " ${GREEN}前端界面: http://${SERVER_IP}:3000${NC}" echo -e " ${GREEN}前端界面: http://${SERVER_IP}:3001${NC}"
echo -e " ${GREEN}后端接口: http://${SERVER_IP}:8104${NC}" echo -e " ${GREEN}后端接口: http://${SERVER_IP}:8104${NC}"
echo -e "" echo -e ""
echo -e "${BLUE}📝 日志查看命令:${NC}" echo -e "${BLUE}📝 日志查看命令:${NC}"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!