Commit Graph

26 Commits

Author SHA1 Message Date
4a46e7d2f5 fix(backend): 修正默认数据库用户名及调试模式配置
- 将默认数据库用户名从 your_user 改为 postgresql,明确用户名字段说明
- 修改 .env.example 中 DEBUG 默认为 True,方便本地调试
- 更新 deploy-docker-compose.sh 脚本中 DEBUG 默认值为 True,保持一致性
- 保持数据库连接字符串格式正确,确保环境变量配置一致
2026-02-28 17:53:30 +08:00
b5f8a5f20c feat: add .env file for deployment configuration 2026-02-28 17:27:07 +08:00
58fa45be8e fix: auto-create .env file during deployment 2026-02-28 17:26:03 +08:00
1ad1a9cbb1 feat: add .env.example template for production deployment 2026-02-28 17:24:47 +08:00
0395f31d24 fix(env): 修正示例环境变量配置
- 更新数据库连接信息为生产环境示例
- 修改调试模式默认值为 False
- 添加注释提示生产环境需修改数据库信息
2026-02-28 17:24:20 +08:00
4dd88ad294 fix: add DATABASE_URL export for backend database connection 2026-02-28 17:11:44 +08:00
e5c82b1a95 fix: correct health check endpoint from /api/v1/health to /health 2026-02-28 17:09:41 +08:00
94cd83ea2c refactor: convert to traditional deployment without Docker 2026-02-28 16:52:41 +08:00
6a8f3c9369 fix: use 'docker compose' instead of 'docker-compose' 2026-02-28 16:39:42 +08:00
ae2d3948c9 fix: handle non-empty directory on first deploy 2026-02-28 16:35:53 +08:00
479482e10c fix: update deploy path to /data/spug/service/hospital_performance 2026-02-28 16:32:45 +08:00
fd53ff36a8 fix: replace hyphens with underscores in project naming 2026-02-28 16:26:42 +08:00
dd1b67958b refactor: simplify docker-compose deploy script for direct Spug execution 2026-02-28 16:23:28 +08:00
e31c946f94 fix: correct frontend Dockerfile path for vite build 2026-02-28 16:13:47 +08:00
2e6d8c28c4 feat: add Docker support for automated deployment 2026-02-28 16:07:38 +08:00
aed0e589f7 docs: add Spug application configuration guide for hospital_performance 2026-02-28 16:03:12 +08:00
5b45bf86a2 feat: enhance Spug deployment scripts with better error handling and auto-fix 2026-02-28 16:01:59 +08:00
13badac2dc feat: add Spug auto-deployment scripts for fullstack project 2026-02-28 15:26:09 +08:00
f37cdcb5c0 feat: add project screenshots to docs/screenshots 2026-02-28 15:19:28 +08:00
ea36a60d4a docs: fix screenshot paths in README to use docs/screenshots 2026-02-28 15:17:49 +08:00
44f250f58e 提交文件 2026-02-28 15:16:15 +08:00
1a4e50e0a4 fix: add Windows reserved names to .gitignore 2026-02-28 15:15:48 +08:00
7fc0c66ee3 docs: update README with detailed features and deployment guide 2026-02-28 15:13:52 +08:00
2c37aa9064 add backend source code 2026-02-28 15:06:52 +08:00
1bc330e20c first commit 2026-02-28 15:05:30 +08:00
f657de1c0d first commit 2026-02-28 15:02:08 +08:00