完善维护入口并处理课程小结审核

This commit is contained in:
Codex
2026-06-18 03:39:25 +08:00
parent 72184004e3
commit 2c7dfad2b6
3 changed files with 58 additions and 0 deletions
+16
View File
@@ -15,6 +15,22 @@
- `scripts/install_launch_agent.py`:安装 Mac 开机常驻同步任务。
- `launchd/com.xsk.education-management.sync.plist.template`LaunchAgent 模板。
## 维护入口
推荐在仓库根目录 `/root/新时空教务管理系统` 执行日常维护命令:
```bash
make check
make smoke
make deploy
```
根目录 `Makefile` 会自动转发到 `app/` 下的实际应用配置,避免在错误目录执行 `docker compose``make deploy`。需要直接运行 Docker Compose 时,使用:
```bash
docker compose -f app/docker-compose.yml <命令>
```
## 后端结构
- `app/main.py`:FastAPI 应用入口,只负责注册路由和全局异常处理。