quantum-ai-v2/requirements.txt
Claude b954a381ff Fix Railway static files serving with WhiteNoise
**Static Files Issues Fixed:**
- CSS files returning HTML instead of CSS content
- Missing logo.png and other static assets
- MIME type errors for stylesheets

**WhiteNoise Integration:**
- Add whitenoise==6.8.2 to requirements.txt
- Configure WhiteNoiseMiddleware in Django middleware
- Set up CompressedManifestStaticFilesStorage for production
- Enable WHITENOISE_USE_FINDERS for development compatibility

**Static Files Configuration:**
- STATIC_URL = '/static/' (correct)
- STATIC_ROOT = 'staticfiles' (for collectstatic)
- STATICFILES_DIRS includes 'static' folder
- Compression and manifest for optimized delivery

**Railway Deployment Fix:**
- Railway can now serve CSS, JS, and images correctly
- Static files will be collected and served efficiently
- No more MIME type errors or 404s for static assets

**Files Fixed:**
- /static/css/base.css
- /static/css/homepage.css
- /static/img/logo.png
- All other static assets

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 10:38:44 +05:30

10 lines
190 B
Plaintext

Django==5.2.4
djangorestframework==3.15.2
python-decouple==3.8
stripe==12.3.0
Pillow==11.3.0
requests==2.32.4
gunicorn==21.2.0
psycopg2-binary==2.9.9
dj-database-url==2.1.0
whitenoise==6.8.2