Commit Graph

139 Commits

Author SHA1 Message Date
Cal Corum
e9f70b7ed0 CLAUDE: Fix PostgreSQL startup - use local directory instead of volume
- Switch from Docker volume to local directory mount to avoid space issues
- Comment out API service (run locally for development)
- Create logs/database directory
- Add postgres_data/ to .gitignore
- Fixes 'No space left on device' error
2025-11-07 13:30:37 -06:00
Cal Corum
08460c3884 CLAUDE: Change Adminer port to 8081 to avoid conflict with discord-app 2025-11-07 13:16:02 -06:00
Cal Corum
3e0445c70a CLAUDE: Fix YAML syntax in docker-compose.yml - comment out API service properly 2025-11-07 13:07:48 -06:00
Cal Corum
39a7d59fcd CLAUDE: Add docker-compose.yml and quickstart guide
- PostgreSQL 17 Alpine container with health checks
- Adminer database UI on port 8080
- Persistent volumes for data
- Environment variable support via .env
- Comprehensive quickstart guide with common commands
- Troubleshooting section
- Production considerations
- Update .gitignore to allow base docker-compose.yml
2025-11-07 13:07:23 -06:00
Cal Corum
0198965739 CLAUDE: Update .gitignore to explicitly ignore .env files
- Add .env and environment file patterns
- Add database backup patterns
- Ensures sensitive configuration is never committed
2025-11-07 12:53:06 -06:00
Cal Corum
4d40d8fd3f CLAUDE: Add .env.example with comprehensive configuration guide
- Documents all environment variables
- Includes SQLite and PostgreSQL configurations
- Provides example configurations for different environments
- Adds security notes and best practices
- Includes migration notes for PostgreSQL transition
2025-11-07 11:53:23 -06:00
Cal Corum
69ac31bbe3 CLAUDE: Add migration progress tracking document 2025-11-07 10:54:42 -06:00
Cal Corum
0d123be090 CLAUDE: Add psycopg2-binary to requirements for PostgreSQL support 2025-11-07 10:53:27 -06:00
Cal Corum
1517283114 CLAUDE: Fix GROUP BY queries for PostgreSQL compatibility
- Refactor get_batting_totals() to conditionally build SELECT fields based on group_by parameter
- Refactor get_pitching_totals() with same pattern
- Ensures all non-aggregated SELECT fields are included in GROUP BY clause
- Based on successful Major Domo migration pattern
2025-11-07 10:25:00 -06:00
Cal Corum
f6e8aa7108 CLAUDE: Add PostgreSQL support and table names to models
- Add environment-based PostgreSQL configuration to db_engine.py
- Add table_name to all 30 models (Meta class)
- Update db_migrations.py to auto-select migrator based on DB type
- Add comprehensive PostgreSQL migration plan document
2025-11-07 10:23:14 -06:00
Cal Corum
db0635b01d Added search endpoints 2025-10-08 14:21:44 -05:00
Cal Corum
b20d0cdf88 Adding card variant support 2025-07-22 09:26:23 -05:00
Cal Corum
adaa8206c8 Players bug fix 2025-05-29 22:19:34 -05:00
Cal Corum
2791e1964b Gauntlet 8 updates 2025-05-29 22:19:19 -05:00
Cal Corum
acb65ef47c Gauntlet 7 cardsets 2024-12-23 16:13:05 -06:00
Cal Corum
0b8234f9d6 Add poop_max to game summary 2024-12-23 10:14:02 -06:00
Cal Corum
21fe5c419a Flip image libraries due to white bar bug 2024-11-04 23:17:07 -06:00
Cal Corum
1e4569dfbf Clean up root_validators
Remove root_path from FastAPI
Update Season 8 Cardsets
Force pydantic 1.x
2024-11-03 01:46:40 -05:00
Cal Corum
17416cd50f Log mlbplayer dupes
Update cardsets for season 8
2024-11-02 23:44:32 -05:00
Cal Corum
2a2961983a Added All-Star teams to record 2024-08-19 14:38:20 -05:00
Cal Corum
a265b83c63 Add support for exhibition games 2024-07-14 13:23:15 -05:00
Cal Corum
18a6ed2ebd Support for Exhibition games & Swagger updates 2024-07-11 15:07:23 -05:00
Cal Corum
75e2f05f48 Add support for Swagger 2024-07-11 15:06:58 -05:00
Cal Corum
179947b536 Add schema privacy to docs 2024-07-07 22:53:29 -05:00
Cal Corum
889db717d1 Update for Swagger URL 2024-07-07 22:18:51 -05:00
Cal Corum
421eea19ac Bugfixes 2024-06-03 12:09:44 -05:00
Cal Corum
d0c3caaf87 Add support for buying Promo pack 2024-05-13 17:03:48 -05:00
Cal Corum
f0e3b38938 Cardset updates 2024-05-13 15:37:08 -05:00
Cal Corum
79b59bb376 MlbPlayers update
Add initial support for /mlbplayers
2024-05-13 15:37:00 -05:00
Cal Corum
aca7d6df23 Add gauntlet_id to /games 2024-05-13 15:36:34 -05:00
Cal Corum
e4d2e432dd Fix standings bug & s9 update 2024-04-27 08:50:51 -05:00
Cal Corum
11568a2d2e Fix pitcher decisions across game_types 2024-04-27 08:50:33 -05:00
Cal Corum
b9a64e8333 2024 Updates 2024-04-21 17:48:51 -05:00
Cal Corum
62bcfd5e45 Cardset updates 2024-03-08 00:26:00 -06:00
Cal Corum
563f46c30c Update human legal-check 2024-03-01 20:01:56 -06:00
Cal Corum
ac14e8517e Add high-inning preference for AI lineups 2024-02-24 23:34:36 -06:00
Cal Corum
1f917b8a6b Mark '18 Promo as ranked legal 2024-02-24 21:36:56 -06:00
Cal Corum
a31f451089 Update card_creation.py
Bug fix: add second arm rating for C + OF players
2024-02-24 21:36:44 -06:00
Cal Corum
e217375974 Update db_engine.py
Update ranked cardsets
2023-12-04 13:40:10 -06:00
Cal Corum
dbbe257654 Update db_engine.py
Move 2023 from primary to secondary in the gauntlet
2023-11-29 10:34:41 -06:00
Cal Corum
eb49ded2d4 Add player_id to ratings & flashback rename 2023-11-20 01:00:10 -06:00
Cal Corum
b9e922acba Fix dupe PotG stats 2023-11-19 14:30:30 -06:00
Cal Corum
d81b63ce92 Update pitchingcardratings.py
Fix BB/9 inverse rating
2023-11-19 12:26:33 -06:00
Cal Corum
d9a63e1949 Add scouting update endpoint 2023-11-18 14:45:09 -06:00
Cal Corum
eb0babc78c Major League Campaign update
Prep for flashback campaign
2023-11-05 20:04:30 -06:00
Cal Corum
e9eb21b6b7 Update decisions.py
Bug fixing
2023-10-31 14:46:31 -05:00
Cal Corum
57bb15cf1b Added decisions/rest 2023-10-31 11:02:28 -05:00
Cal Corum
c884f45c17 Batting stats re24 sort update 2023-10-30 21:17:33 -05:00
Cal Corum
c0a94613a3 Serve scouting by static csv 2023-10-30 10:25:44 -05:00
Cal Corum
24cf331803 Pitching Basic Ratings Complete + Batting Refactor 2023-10-29 17:48:38 -05:00