-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_dev.py
More file actions
31 lines (25 loc) · 969 Bytes
/
Copy pathrun_dev.py
File metadata and controls
31 lines (25 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python
"""
Development server runner for Wanna Fit project.
This script starts the Django development server with development-specific settings.
"""
import os
import sys
import django
from django.core.management import execute_from_command_line
if __name__ == "__main__":
# Set development settings
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wanna_fit.settings_dev")
# Initialize Django
django.setup()
# Run the development server
print("🚀 Starting Wanna Fit Development Server...")
print("📊 Features enabled:")
print(" ✅ ML-powered recommendations")
print(" ✅ Local memory caching")
print(" ✅ Database sessions")
print(" ✅ All enhanced features")
print(" ⚠️ Redis caching disabled (not required for development)")
print(" ⚠️ Kafka streaming disabled (not required for development)")
print()
execute_from_command_line(["manage.py", "runserver"])