# ─── SwiftPOS Environment Configuration ───────────────────────────────────────
# Copy this file to .env in the project root and fill in real values.
# NEVER commit .env with real credentials to version control.

# Django Core
SECRET_KEY=django-insecure-your-secret-key-here
DEBUG=True
ALLOWED_HOSTS=*

# Database (PostgreSQL)
DB_ENGINE=django.db.backends.postgresql
DB_NAME=sw_db
DB_USER=postgres
DB_PASSWORD=Nura210980
DB_HOST=localhost
DB_PORT=5432

# Email (SSL SMTP — use port 465 for SSL, 587 for TLS)
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=465
EMAIL_USE_SSL=True
EMAIL_USE_TLS=False
EMAIL_HOST_USER=your@gmail.com
EMAIL_HOST_PASSWORD=your-app-password
DEFAULT_FROM_EMAIL=SwiftPOS Software <your@gmail.com>

# Admin email(s) — comma-separated for multiple
ADMIN_EMAIL=admin@yourdomain.com

# WhatsApp number for renewal (international format, no +)
WHATSAPP_NUMBER=2348000000000

# Low stock alert threshold (notify when stock <= this value)
LOW_STOCK_THRESHOLD=10

# Media & Static (override for production)
MEDIA_URL=/media/
STATIC_URL=/static/
