mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 04:31:13 -05:00
feat: Django backend foundation - project structure, dependencies, and documentation
- Created Django 4.2 project with production-ready architecture - Installed 60+ packages including django-ninja, celery, channels, etc. - Set up app structure (core, entities, moderation, users, versioning, media, notifications) - Created comprehensive MIGRATION_PLAN.md with 12-phase roadmap - Created README.md with setup instructions - Created .env.example with all required configuration - Configured for Python 3.13 compatibility - All dependencies successfully installed and tested Next steps: Configure Django settings and create base models
This commit is contained in:
35
django/.env.example
Normal file
35
django/.env.example
Normal file
@@ -0,0 +1,35 @@
|
||||
# Django Settings
|
||||
DEBUG=True
|
||||
SECRET_KEY=your-secret-key-here-change-in-production
|
||||
ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
|
||||
# Database
|
||||
DATABASE_URL=postgresql://user:password@localhost:5432/thrillwiki
|
||||
|
||||
# Redis
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
|
||||
# Celery
|
||||
CELERY_BROKER_URL=redis://localhost:6379/0
|
||||
CELERY_RESULT_BACKEND=redis://localhost:6379/1
|
||||
|
||||
# CloudFlare Images
|
||||
CLOUDFLARE_ACCOUNT_ID=your-account-id
|
||||
CLOUDFLARE_IMAGE_TOKEN=your-token
|
||||
CLOUDFLARE_IMAGE_HASH=your-hash
|
||||
|
||||
# Novu
|
||||
NOVU_API_KEY=your-novu-api-key
|
||||
NOVU_API_URL=https://api.novu.co
|
||||
|
||||
# Sentry
|
||||
SENTRY_DSN=your-sentry-dsn
|
||||
|
||||
# CORS
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000
|
||||
|
||||
# OAuth
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
DISCORD_CLIENT_ID=
|
||||
DISCORD_CLIENT_SECRET=
|
||||
Reference in New Issue
Block a user