focusflow / test_backend.sh
FocusFlow Assistant
fix: Add robust startup with health checks and error logging
76a5867
raw
history blame contribute delete
355 Bytes
#!/bin/bash
# Debug script to test backend startup locally
echo "Testing backend startup..."
python3 -c "from backend.main import app; print('✅ Backend imports successful')" || {
echo "❌ Backend import failed!"
exit 1
}
echo "✅ All imports work!"
echo "Starting backend on port 8000..."
uvicorn backend.main:app --host 0.0.0.0 --port 8000