DEPLOY SCRIPT IMPROVEMENTS:
- Added explicit Python availability check before CSV generation
- Supports both python3 and python commands (Windows uses 'python')
- Clear error message if Python is not installed
- Windows-specific installation instructions with Microsoft Store option
- Linux/macOS instructions to run dependency installer
- Prevents silent failures when Python is missing
DEPENDENCY INSTALLER ENHANCEMENTS:
- Enhanced Windows section with detailed installation steps
- Added Microsoft Store option (easiest for Windows users)
- Added official Python installer option with PATH checkbox reminder
- Clear verification command: python --version
- Instructions to close/reopen PowerShell after installation
PROBLEM SOLVED:
- CSV import was showing 0 rows because Python script never ran
- Python not installed on Windows by default
- Script failed silently without clear error message
- Users now get clear instructions on how to install Python
NEXT STEPS FOR USERS:
1. Install Python 3 from Microsoft Store or python.org
2. Close and reopen PowerShell
3. Run ./deploy.sh again
4. CSV generation will work and data will persist
DEPENDENCY MANAGEMENT:
- Created scripts/install-dependencies.sh - automatic installer for all required packages
- Detects OS (Ubuntu, Debian, CentOS, RHEL, Fedora, Arch, macOS)
- Installs PostgreSQL client (psql) automatically
- Installs Docker & Docker Compose if missing
- Installs utility packages (curl, wget, git)
SCRIPT ENHANCEMENTS:
- Updated setup-database.sh with dependency checking
- Updated generate_data.sh with dependency checking
- Updated verify-setup.sh with dependency checking
- All scripts now prompt to run installer if dependencies are missing
- Interactive prompts guide users through installation
DOCUMENTATION:
- Updated README.md with dependency installation instructions
- Updated QUICKSTART.md with Step 0: Install Dependencies
- Added supported OS list
- Added automatic dependency check notes
USER EXPERIENCE:
- No more manual package installation required
- Scripts fail gracefully with helpful error messages
- One-command installation: ./scripts/install-dependencies.sh
- Automatic detection and installation on Linux/macOS
- Clear instructions for Windows users
This ensures users can get started immediately without hunting for package installation commands.