- check-env.sh: Validates Python 3.10+, Node.js, Docker, venv, .env, ports - start-dev.sh: Starts MinIO, backend, frontend with health checks - stop-dev.sh: Gracefully stops all services Scripts are placed in project root for easy access. Supports --help flag and colored output. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.3 KiB
1.3 KiB
Change: Add Development Scripts
Why
Developers currently need to manually start multiple services (MinIO, backend, frontend) and verify environment prerequisites before running the application. This is error-prone and time-consuming. Automated scripts will streamline the development workflow and reduce onboarding friction.
What Changes
- NEW: Environment check script (
check-env.sh) - Validates all prerequisites - NEW: Unified development startup script (
start-dev.sh) - Starts all services - NEW: Stop script (
stop-dev.sh) - Gracefully stops all services
Impact
- Affected specs: Creates new
dev-scriptsspecification - Affected code:
- Shell scripts in project root directory
- No changes to existing application code
Dependencies
- Existing docker-compose.minio.yml for MinIO
- Python virtual environment (venv/)
- Node.js and npm for frontend
Success Criteria
check-env.shvalidates Python 3.10+, Node.js, Docker, required portscheck-env.shprovides clear error messages for missing prerequisitesstart-dev.shstarts MinIO, backend, and frontend in correct orderstart-dev.shwaits for each service to be healthy before proceedingstop-dev.shgracefully terminates all services- Scripts work on Linux/WSL environments