0b2d7ac50d
脚本 exec 立即返回 running 并在后台跑批次;/ws/alerts 推送 script_progress/complete; 新增 ScriptRunsPage、Telegram 汇总通知与可配置的浏览器完成提示音。 Co-authored-by: Cursor <cursoragent@cursor.com>
45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
# Nexus 6.0 — Cursor 速查
|
||
|
||
> SSOT: [docs/project/nexus-functional-development-guide.md](docs/project/nexus-functional-development-guide.md)
|
||
> Handoff: [docs/project/AI-HANDOFF-2026-06-03.md](docs/project/AI-HANDOFF-2026-06-03.md)
|
||
|
||
## 栈
|
||
|
||
FastAPI + Async SQLAlchemy + Redis · Vue 3 + Vuetify 4 SPA(15 页)· Vite → `web/app/`
|
||
|
||
## 环境(勿在仓库写密码)
|
||
|
||
- 生产: `https://api.synaglobal.vip` · 端口 8600 · `ssh nexus`
|
||
- 本地: `~/Nexus` 或 `$NEXUS_ROOT` · 见 [linux-dev-paths.md](docs/project/linux-dev-paths.md)
|
||
- 凭据: 仅 `.env`(不入 git)
|
||
- **Gitea**:clone/pull 可匿名;**push** 用 `bash scripts/git-push.sh`(凭据在 `deploy/nexus-1panel.secrets.sh`,已 gitignore,勿提交)
|
||
|
||
## 关键路径
|
||
|
||
| 用途 | 路径 |
|
||
|------|------|
|
||
| 后端入口 | `server/main.py` |
|
||
| 前端路由 | `frontend/src/router/index.ts` |
|
||
| API 客户端 | `frontend/src/api/index.ts` |
|
||
| Sync | `server/api/sync_v2.py` |
|
||
| 门控 | `deploy/pre_deploy_check.sh` |
|
||
| 本地验证 | `bash scripts/local_verify.sh` |
|
||
|
||
## 铁律
|
||
|
||
见 `.cursor/rules/perfect-implementation.mdc` · `nexus-security.mdc` — 完美实现、无静默吞错、无明文密钥、CUD 审计。
|
||
|
||
## 部署
|
||
|
||
```bash
|
||
bash deploy/pre_deploy_check.sh && bash deploy/deploy-production.sh
|
||
```
|
||
|
||
前端: `cd frontend && npx vite build` → tar/scp(见 `deploy/deploy-frontend.sh`)
|
||
|
||
## 进度条(改代码时输出)
|
||
|
||
```
|
||
□实现 □本地验证 □审计8步 □部署 □健康检查 □浏览器验证 □changelog
|
||
```
|