Rewrite start

This commit is contained in:
2025-10-12 20:21:04 +02:00
parent 9c19bd9c74
commit 39a9f91cfc
12 changed files with 428 additions and 0 deletions

20
.env.sample Normal file
View File

@@ -0,0 +1,20 @@
# Django Settings
SECRET_KEY=your-secret-key-here
DEBUG=True
# Database
CONNECTION_STRING=postgresql://postgres:password@localhost:5432/iotdashboard
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
# MQTT Configuration
MQTT_BROKER=localhost
MQTT_PORT=1883
MQTT_USER=mqtt_user
MQTT_PASS=mqtt_password
# GPT/OpenAI (Optional)
OPENAI_API_KEY=your-openai-key-here