removed temp files
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# --- Essential Site Configuration ---
|
||||
# Your primary domain (e.g., holy.narl.io). Used to derive ALLOWED_HOSTS, CORS, and CSRF settings.
|
||||
# Your primary domain (e.g., example.com). Used to derive ALLOWED_HOSTS, CORS, and CSRF settings.
|
||||
DOMAIN="localhost"
|
||||
|
||||
# Set to a long, random string in production (e.g. 50+ chars)
|
||||
@@ -12,15 +12,15 @@ DEBUG=true
|
||||
ADMIN_URL="admin"
|
||||
|
||||
# --- Advanced Networking (Optional, derived from DOMAIN if unset) ---
|
||||
# ALLOWED_HOSTS=holy.narl.io,another-domain.com
|
||||
# CSRF_TRUSTED_ORIGINS=https://holy.narl.io
|
||||
# CORS_ALLOWED_ORIGINS=https://holy.narl.io
|
||||
# FRONTEND_URL=https://holy.narl.io
|
||||
# VITE_API_URL=https://holy.narl.io/api/
|
||||
# ALLOWED_HOSTS=example.com,another-domain.com
|
||||
# CSRF_TRUSTED_ORIGINS=https://example.com
|
||||
# CORS_ALLOWED_ORIGINS=https://example.com
|
||||
# FRONTEND_URL=https://example.com
|
||||
# VITE_API_URL=https://example.com/api/
|
||||
|
||||
# --- SMTP Configuration (Required for Email Verification) ---
|
||||
# For development, if EMAIL_HOST is empty, emails are printed to the console.
|
||||
EMAIL_HOST=localhost
|
||||
EMAIL_HOST=
|
||||
EMAIL_PORT=587
|
||||
# Use EMAIL_USE_TLS=true for STARTTLS (usually port 587)
|
||||
EMAIL_USE_TLS=true
|
||||
@@ -33,12 +33,12 @@ EMAIL_SKIP_CERT_VERIFICATION=false
|
||||
|
||||
# --- Frontend Configuration ---
|
||||
# Optional: defaults to ${DOMAIN}/api/ if not set
|
||||
# VITE_API_URL=https://holy.narl.io/api/
|
||||
VITE_ALLOWED_HOSTS=localhost,holy.narl.io
|
||||
# VITE_API_URL=https://example.com/api/
|
||||
VITE_ALLOWED_HOSTS=localhost
|
||||
|
||||
# --- Impressum / Contact Details (Required for German Law § 5 TMG) ---
|
||||
VITE_IMPRESSUM_NAME="Your First and Last Name"
|
||||
VITE_IMPRESSUM_STREET="Street Name and House Number"
|
||||
VITE_IMPRESSUM_CITY="Postal Code and City"
|
||||
VITE_IMPRESSUM_EMAIL="your-public-contact@email.com"
|
||||
VITE_IMPRESSUM_PHONE="+49 123 456789"
|
||||
VITE_IMPRESSUM_PHONE="+00 123 456789"
|
||||
@@ -14,10 +14,18 @@ db.sqlite3
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
backend/**/__pycache__/
|
||||
|
||||
# Django specific
|
||||
backend/staticfiles/
|
||||
backend/media/
|
||||
backend/django_cache/
|
||||
backend/backups/
|
||||
|
||||
# React/Vite build
|
||||
dist/
|
||||
dist-ssr/
|
||||
frontend/dist/
|
||||
*.local
|
||||
|
||||
# Logs
|
||||
@@ -39,6 +47,3 @@ Thumbs.db
|
||||
.env.*
|
||||
!.env.example
|
||||
frontend/.env*
|
||||
backend/django_cache/
|
||||
backend/media/
|
||||
backend/backups/
|
||||
@@ -27,7 +27,7 @@ SECRET_KEY = os.environ.get('SECRET_KEY', 'django-insecure-zos99ue2a89!4jrv4g@_b
|
||||
DEBUG = os.environ.get('DEBUG', 'false').lower() == 'true'
|
||||
|
||||
# Simplification: Use a single DOMAIN variable to derive multiple settings
|
||||
DOMAIN = os.environ.get('DOMAIN', 'holy.narl.io')
|
||||
DOMAIN = os.environ.get('DOMAIN', 'localhost')
|
||||
|
||||
# Helper to build lists from env or defaults
|
||||
def get_env_list(var_name, default_list):
|
||||
|
||||
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 7.6 MiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 3.2 MiB |
|
Before Width: | Height: | Size: 153 KiB |
|
Before Width: | Height: | Size: 302 KiB |
|
Before Width: | Height: | Size: 3.4 MiB |
|
Before Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 616 KiB |
|
Before Width: | Height: | Size: 474 KiB |
|
Before Width: | Height: | Size: 390 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 531 KiB |
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 163 KiB |
|
Before Width: | Height: | Size: 153 KiB |
|
Before Width: | Height: | Size: 307 KiB |
|
Before Width: | Height: | Size: 850 KiB |
|
Before Width: | Height: | Size: 630 KiB |
|
Before Width: | Height: | Size: 254 KiB |
|
Before Width: | Height: | Size: 665 KiB |
|
Before Width: | Height: | Size: 807 KiB |
|
Before Width: | Height: | Size: 280 KiB |
|
Before Width: | Height: | Size: 212 KiB |
|
Before Width: | Height: | Size: 194 KiB |
|
Before Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 3.9 MiB |
|
Before Width: | Height: | Size: 194 KiB |
|
Before Width: | Height: | Size: 293 KiB |
|
Before Width: | Height: | Size: 263 KiB |
|
Before Width: | Height: | Size: 705 KiB |
|
Before Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 760 KiB |
|
Before Width: | Height: | Size: 581 KiB |
|
Before Width: | Height: | Size: 5.3 MiB |
|
Before Width: | Height: | Size: 581 KiB |
|
Before Width: | Height: | Size: 3.5 MiB |
|
Before Width: | Height: | Size: 491 KiB |
|
Before Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 827 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 173 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 234 KiB |
|
Before Width: | Height: | Size: 11 MiB |
|
Before Width: | Height: | Size: 907 KiB |
|
Before Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 449 KiB |
|
Before Width: | Height: | Size: 7.1 MiB |
|
Before Width: | Height: | Size: 6.2 MiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 517 KiB |
|
Before Width: | Height: | Size: 2.5 MiB |
|
Before Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 5.9 MiB |
|
Before Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 2.9 MiB |
|
Before Width: | Height: | Size: 258 KiB |
|
Before Width: | Height: | Size: 373 KiB |
|
Before Width: | Height: | Size: 3.2 MiB |
|
Before Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 5.0 MiB |
|
Before Width: | Height: | Size: 829 KiB |
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 3.2 MiB |
|
Before Width: | Height: | Size: 3.3 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1005 KiB |
|
Before Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 217 KiB |
|
Before Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 437 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 711 KiB |