- Python 3.11+
- Git
- (Optional) Docker Desktop
git clone https://github.com/TahaKhan998/wanna-fit.git
cd wanna-fit# Run the automated setup script
.\scripts\setup-dev.ps1python run_dev.py- Main App: http://127.0.0.1:8000
- Health Check: http://127.0.0.1:8000/health/
- Metrics: http://127.0.0.1:8000/metrics/
- Admin: http://127.0.0.1:8000/admin/
docker-compose up -d- Main App: http://localhost:8000
- Grafana: http://localhost:3000 (admin/admin)
- Prometheus: http://localhost:9090
docker-compose down- Kubernetes cluster (minikube, EKS, GKE, AKS)
- kubectl configured
# Deploy storage
kubectl apply -f k8s/storage.yaml
# Deploy database and cache
kubectl apply -f k8s/postgres.yaml
kubectl apply -f k8s/redis.yaml
kubectl apply -f k8s/kafka.yaml
# Deploy monitoring
kubectl apply -f k8s/monitoring/# Deploy to production
.\scripts\deploy.ps1 -Environment production
# Or manually
kubectl apply -f k8s/production/- Register new account
- Complete profile setup
- Set fitness goals
- Log meals and foods
- View nutritional analysis
- Get ML-powered food recommendations
- Create custom workouts
- Log workout sessions
- Track progress over time
- AI-generated meal plans
- Personalized workout recommendations
- Goal-based planning
- Dashboard with key metrics
- Progress tracking
- Performance analytics
# Run migrations
python manage.py migrate
# Create superuser
python manage.py createsuperuser
# Load sample data
python manage.py loaddata nutrition_data.csv# Train ML models
python manage.py train_ml_model
# Generate recommendations
python manage.py generate_recommendations# Run tests
python manage.py test
# Run with coverage
coverage run --source='.' manage.py test
coverage report- Liveness:
/health/live/- Is the app running? - Readiness:
/health/ready/- Is the app ready to serve requests? - Health:
/health/- Comprehensive health check
- Prometheus:
/metrics/- Application metrics - Custom Metrics: User activity, ML performance, system health
# Check if port 8000 is in use
netstat -an | findstr :8000
# Kill process using port 8000
taskkill /PID <PID> /F# Reset database
python manage.py flush
# Recreate migrations
python manage.py makemigrations
python manage.py migrate# Reinstall dependencies
pip install -r requirements.txt --force-reinstall- Full Documentation: DEPLOYMENT.md
- Supervisor Presentation: SUPERVISOR_PRESENTATION.md
- Project Summary: PROJECT_ENHANCEMENT_SUMMARY.md
Your Wanna Fit application is now running with:
- ✅ ML-powered recommendations
- ✅ Real-time data processing
- ✅ Comprehensive monitoring
- ✅ Production-ready infrastructure
- ✅ Enterprise-grade security
Ready to impress your supervisors! 🚀