Files
eryao/apps
qzl dab47f0cb3 chore: 优化本地开发环境配置
- 添加 .env.local 支持,app.sh 和 dev-migrate.sh 自动覆盖
- Docker Compose 使用 profiles 区分 dev/prod 环境
- 改进认证 dev session 判断逻辑,使用 test account 配置
- 修复 CoinPackageCard 重复代码问题
- 清理 opencode 配置,移除敏感信息
- 新增 infra/docker/README.md 文档
- 修复 ruff/pyright/flutter lint 错误
- 更新测试用例移除已删除的 country 字段
2026-04-28 18:49:38 +08:00
..
2026-04-28 18:49:38 +08:00

eryao apps

Flutter client for 觅爻签问.

Debug startup with backend injection

This app supports injecting backend URL at startup (same pattern as social-app):

  • Dart read path: lib/core/config/env.dart
  • Injection key: BACKEND_URL

Direct command

flutter run --dart-define=BACKEND_URL=http://192.168.1.100:5775

Script command

./tool/run-dev.sh --backend-url http://192.168.1.100:5775

If BACKEND_URL is not provided, fallback is:

  • Android emulator: http://10.0.2.2:5775
  • Others: http://localhost:5775