Files
digital-psychology/apps/api/README.md
T
jackyu66gitandCursor bd22d9dddd feat: P1 合盘/星座/问答与测测完整设计包及模拟器取证工具
落地 synastry/star/ask API 与 H5 页面,补齐 cece-frontend-re complete-design 证据文档,并加入 Android 模拟器截图抓取脚本。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 11:37:53 +08:00

18 lines
574 B
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.
# 愈心谷 API
Go + Gin + Postgres。本命/合盘星历依赖 **Swiss Ephemeris**`github.com/tejzpr/go-swisseph`**AGPL-3.0**)。
## 构建要求
- Go 1.22+
- **CGO_ENABLED=1** 与 C 编译器(clang/gcc
- 默认使用 **Moshier** 星历(无需外挂 ephe 文件)
- 可选:设置 `SE_EPHE_PATH` / `EPHEMERIS_PATH` 指向 Swiss Ephemeris 数据目录以启用更高精度(`FlagSwieph`
```bash
CGO_ENABLED=1 go test ./...
CGO_ENABLED=1 go run ./cmd/server
```
商业部署须遵守 Swiss Ephemeris 许可(AGPL 或 Astrodienst 专业授权)。