# ─── 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=False
ALLOWED_HOSTS=yemsupermarket.swiftpos.ng

# 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.swiftpos.ng
EMAIL_PORT=465
EMAIL_USE_SSL=True
EMAIL_USE_TLS=False
EMAIL_HOST_USER=test@swiftpos.ng
EMAIL_HOST_PASSWORD=Nura210980####
DEFAULT_FROM_EMAIL=SwiftPOS Software <test@swiftpos.ng>

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

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

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

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