Commit Graph

7 Commits

Author SHA1 Message Date
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
Claude
3c99324676 Fix Railway database configuration
- Use dj-database-url to properly parse DATABASE_URL for Railway deployment
- Add dj-database-url==2.1.0 to requirements.txt
- Simplify database config to work with Railway's automatic DATABASE_URL

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 05:05:16 +05:30
Claude
f7a495c776 Fix stripe version to stable 12.3.0
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 04:14:56 +05:30
Claude
5414f6da5e Fix requirements.txt for Railway deployment
- Fix stripe version from 7.15.0 to 12.4.0 (invalid version)
- Remove unused django-filter dependency
- Add gunicorn and psycopg2-binary for production deployment

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 04:03:06 +05:30
Claude
4d2d19f79f Add Railway deployment config 2025-07-12 03:43:14 +05:30
Claude
67ba2de335 first working 2025-07-09 02:15:35 +05:30
Claude
3fc5f01309 Initial Django project setup with working homepage
- Complete Django project structure with apps/ organization
- Working homepage with exact Next.js recreation (1039 lines)
- User authentication system with wallet balance
- Agent system with processors and models
- Stripe payment integration setup
- All Django migrations and URL routing
- Comprehensive .gitignore file
- Homepage loads successfully (HTTP 200)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 16:30:56 +05:30