5 Commits

Author SHA1 Message Date
ilia
02c10c85d6 Add data update tools and Phase 2 plan
- scripts/add_custom_trades.py: Manual trade entry
- scripts/scrape_alternative_sources.py: CSV import
- scripts/daily_update.sh: Automated daily updates
- docs/09_data_updates.md: Complete update guide
- docs/PR4_PLAN.md: Phase 2 analytics plan

Enables users to add representatives and set up auto-updates
2025-12-15 10:39:18 -05:00
ilia
895c34e2c1 Add psycopg2-binary to dependencies for PostgreSQL support
- Required for SQLAlchemy PostgreSQL connections
- Fixes: ModuleNotFoundError: No module named 'psycopg2'
2025-12-14 21:12:36 -05:00
ilia
44ddd88879 Complete fix: Replace all sudo commands with su for LXC compatibility
- Replace 'sudo -u' with 'su -' throughout the script
- Works perfectly in LXC containers running as root (no sudo installed)
- Also works on regular VMs/servers where sudo is available
- Fixes all remaining: sudo: command not found errors
2025-12-14 21:05:35 -05:00
ilia
9bb39c9913 Fix proxmox_setup.sh to work when running as root in LXC
- Detect if running as root and use 'su' instead of 'sudo' for postgres
- Fixes: sudo: command not found error in LXC containers
2025-12-14 21:01:30 -05:00
ilia
204cd0e75b Initial commit: POTE Phase 1 complete
- PR1: Project scaffold, DB models, price loader
- PR2: Congressional trade ingestion (House Stock Watcher)
- PR3: Security enrichment + deployment infrastructure
- 37 passing tests, 87%+ coverage
- Docker + Proxmox deployment ready
- Complete documentation
- Works 100% offline with fixtures
2025-12-14 20:45:34 -05:00