34 lines
866 B
Plaintext
34 lines
866 B
Plaintext
# Django settings
|
|
SECRET_KEY=your-secret-key-here
|
|
DEBUG=False
|
|
ALLOWED_HOSTS=localhost,127.0.0.1
|
|
|
|
# Database configuration
|
|
DB_NAME=nexus
|
|
DB_USER=postgres
|
|
DB_PASSWORD=your-database-password
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
|
|
# Timezone
|
|
TIME_ZONE=America/Detroit
|
|
|
|
# JWT settings
|
|
JWT_ACCESS_LIFETIME_MINUTES=60
|
|
JWT_REFRESH_LIFETIME_DAYS=14
|
|
|
|
# CORS (comma-separated list of allowed origins)
|
|
CORS_ALLOWED_ORIGINS=http://localhost:5173,https://your-domain.com
|
|
|
|
# Google API configuration
|
|
# Path to your service account JSON key file (relative to app root)
|
|
GOOGLE_SERVICE_ACCOUNT_FILE=google-sa.json
|
|
|
|
# Calendar settings (for domain-wide delegation)
|
|
GOOGLE_CALENDAR_ID=primary
|
|
GOOGLE_IMPERSONATOR_EMAIL=your-email@your-domain.com
|
|
|
|
# Google Drive punchlist settings (optional)
|
|
PUNCHLIST_TEMPLATE_ID=your-google-sheets-template-id
|
|
PUNCHLIST_FOLDER_ID=your-google-drive-folder-id
|