mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-01-16 09:02:11 +01:00
Implement data integration tasks with Celery, including periodic fetching and manual refresh of chat data; add utility functions for data processing and transcript handling; create views and URLs for manual data refresh; establish Redis and Celery configuration; enhance error handling and logging; introduce scripts for data cleanup and fixing dashboard data; update documentation for Redis and Celery setup and troubleshooting.
This commit is contained in:
16
.env.sample
Normal file
16
.env.sample
Normal file
@ -0,0 +1,16 @@
|
||||
# .env.sample - rename to .env and update with actual credentials
|
||||
# Django settings
|
||||
DJANGO_SECRET_KEY=your-secure-secret-key
|
||||
DJANGO_DEBUG=True
|
||||
|
||||
# External API credentials
|
||||
EXTERNAL_API_USERNAME=your-api-username
|
||||
EXTERNAL_API_PASSWORD=your-api-password
|
||||
|
||||
# Redis settings for Celery
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
CELERY_BROKER_URL=redis://localhost:6379/0
|
||||
CELERY_RESULT_BACKEND=redis://localhost:6379/0
|
||||
|
||||
# Celery Task Schedule (in seconds)
|
||||
CHAT_DATA_FETCH_INTERVAL=3600
|
||||
Reference in New Issue
Block a user