mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 12:32:59 +00:00
**Fixed Runtime Connection Issues:** - Remove connection testing during settings.py loading - Default to SQLite for reliable local development - Eliminate "Connection refused" errors on startup **Smart Configuration Approach:** - Default: SQLite (works out of the box) - Railway: PostgreSQL (via DATABASE_URL environment variable) - Local PostgreSQL: Optional via USE_POSTGRESQL=True or DATABASE_URL **User Experience:** - `python manage.py runserver` always works locally - No PostgreSQL setup required for development - Optional PostgreSQL for production parity testing - Clear .env documentation with multiple options **Configuration Options:** 1. Default SQLite: No configuration needed 2. Explicit DATABASE_URL: Full control over database 3. USE_POSTGRESQL=True: Simple PostgreSQL activation 4. Railway: Automatic PostgreSQL via environment **Fixes:** - Eliminates connection refused errors during startup - Prevents PostgreSQL dependency for basic development - Maintains Railway production compatibility - Provides clear upgrade path to PostgreSQL when needed 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| agent_base | ||
| authentication | ||
| core | ||
| data_analyzer | ||
| docs | ||
| job_posting_generator | ||
| netcop_hub | ||
| social_ads_generator | ||
| static | ||
| templates | ||
| tests | ||
| wallet | ||
| weather_reporter | ||
| .env.example | ||
| .gitignore | ||
| manage.py | ||
| railway.json | ||
| requirements_clean.txt | ||
| requirements.txt | ||