Commit Graph

9 Commits

Author SHA1 Message Date
patdelphi
df9e1ca81c fix: 修复Koyeb Volume挂载路径问题
- 根据Koyeb实际挂载信息(/workspace/data)调整数据库路径配置
- 添加Koyeb环境检测逻辑,优先使用/workspace/data路径
- 更新.koyeb/koyeb.yaml中的mount_path和DB_PATH配置
- 增强日志输出,显示Koyeb环境状态和工作目录
- 解决数据库持久化路径不匹配导致的数据丢失问题
- 确保Volume正确挂载到/workspace/data目录
2025-08-23 00:03:03 +08:00
patdelphi
41f7697440 feat: 完善Koyeb数据库持久化配置
- 更新.koyeb/koyeb.yaml添加完整环境变量配置
- 添加DB_PATH明确指定生产环境数据库路径
- 增强数据库管理器日志输出,显示路径和环境信息
- 添加数据库目录创建状态日志
- 更新.env.example添加数据库配置说明
- 确保本地开发和Koyeb生产环境数据库路径正确分离
- 实现完整的数据库持久化方案
2025-08-22 23:43:45 +08:00
patdelphi
b0594d5131 feat: Complete AI interpretation system and fix database issues
- Fixed all database connection errors in aiInterpretation.cjs
- Updated better-sqlite3 API calls from callback to sync methods
- Removed AI interpretation buttons from history page
- Added pagination to history page (10 records per page)
- Fixed mobile responsive design for AI interpretation results
- Updated Koyeb deployment configuration to use npm instead of pnpm
- Resolved API limit issues for history records
2025-08-22 15:57:53 +08:00
patdelphi
9231651ae1 feat: 完成分析结果下载功能实现
- 新增DownloadButton组件,支持Markdown、PDF、PNG三种格式下载
- 实现后端下载API接口(/api/download)
- 添加Markdown、PDF、PNG三种格式生成器
- 集成下载按钮到所有分析结果页面
- 修复API路径配置问题,确保开发环境正确访问后端
- 添加下载历史记录功能和数据库表结构
- 完善错误处理和用户反馈机制
2025-08-21 12:44:40 +08:00
patdelphi
71ec3b4615 feat: Update to v3.0.0 with AI-enhanced analysis and documentation cleanup
- Update project version to 3.0.0
- Add AI-enhanced analysis features for Ziwei numerology
- Add detailed star strength explanations (旺/得地/平/不得地/陷)
- Add comprehensive Ming Gong position analysis
- Update all project branding from 三算命 to 神机阁
- Remove outdated Supabase-based documentation
- Update README with latest tech stack and features
- Clean up docs directory, keeping only relevant files
2025-08-20 18:03:32 +08:00
patdelphi
a22b38babb Merge dev branch: Complete UI optimization with Chinese design system
- Implement comprehensive Chinese-style component library
- Add unified typography system with semantic font classes
- Optimize all pages with responsive design and Chinese aesthetics
- Fix button styling and enhance user experience
- Add loading states, empty states, and toast notifications
- Complete 12 Palaces Details optimization
- Establish consistent color scheme and visual hierarchy
2025-08-19 22:27:40 +08:00
patdelphi
858a0961b5 Fix API configuration and test production build
- Updated .env file with correct VITE_API_BASE_URL for local development
- Fixed API endpoint routing from localhost:5173 to localhost:3001
- Tested npm run build successfully with no errors
- Updated database and server configurations
2025-08-19 18:47:26 +08:00
patdelphi
3e7120a339 添加Koyeb部署配置和文档 2025-08-19 16:05:39 +08:00
patdelphi
d9c57dedb7 feat: 完成易经64卦数据补全和本地化改造
- 完全按照logic/yijing.txt补全所有64卦的完整数据结构
- 包含每卦的卦辞、象传、六爻详解和人生指导
- 重建八字、易经、紫微斗数三个核心分析器
- 实现完整的本地SQLite数据库替代Supabase
- 添加本地Express.js后端服务器
- 更新前端API调用为本地接口
- 实现JWT本地认证系统
- 完善历史记录和用户管理功能
2025-08-18 22:34:39 +08:00