Files
operating-room-monitor-server/README.md
Kevin 1af442481e 重组为 backend/clients/docs 三层结构,并清理 git 污染。
将后端迁入 backend/,完善根目录 .gitignore,删除误提交的 .mypy_cache 缓存文件。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 16:02:25 +08:00

42 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Operation Room Monitor
手术室耗材监控:后端 APIGPU 推理)+ 独立浏览器客户端。
## 目录结构
```
.
├── backend/ # FastAPI + PostgreSQL + MinIO
│ ├── app/ # 业务与算法
│ ├── docker-compose.yml
│ ├── Dockerfile
│ ├── .env.example
│ └── ...
├── clients/ # 独立前端(手动部署)
│ ├── demo-client/ # 联调 Demo 页 (:38081)
│ └── voice-confirmation/ # 语音确认页 (:8080)
└── docs/ # 部署与接口文档
```
## 快速开始
```bash
# 1. 配置并启动后端(在 backend/ 目录)
cp backend/.env.example backend/.env # 编辑配置
cd backend && docker compose up -d --build
# 2. 启动客户端(各开终端)
cd clients/demo-client && ./start.sh
cd clients/voice-confirmation && ./start.sh
```
- API`http://<服务器IP>:38080`
- Demo`http://<服务器IP>:38081`
- 语音确认:`http://<服务器IP>:8080`
## 文档
- [Docker 部署](docs/Docker部署.md)
- [客户端接口说明](docs/客户端手术通信接口说明.md)
- [语音确认页使用指南](docs/部署版使用指南.md)