cc8d0f6969
Major Features: - Multi-source download system (Soulseek/Lidarr with fallback) - Configurable enrichment speed control (1-5x) - Mobile touch drag support for seek sliders - iOS PWA media controls (Control Center, Lock Screen) - Artist name alias resolution via Last.fm - Circuit breaker pattern for audio analysis Critical Fixes: - Audio analyzer stability (non-ASCII, BrokenProcessPool, OOM) - Discovery system race conditions and import failures - Radio decade categorization using originalYear - LastFM API response normalization - Mood bucket infinite loop prevention Security: - Bull Board admin authentication - Lidarr webhook signature verification - JWT token expiration and refresh - Encryption key validation on startup Closes #2, #6, #9, #13, #21, #26, #31, #34, #35, #37, #40, #43
34 lines
1018 B
Bash
Executable File
34 lines
1018 B
Bash
Executable File
#!/bin/bash
|
|
# Development environment setup script
|
|
|
|
echo "🚀 Setting up Lidify development environment..."
|
|
|
|
# Check if .env exists
|
|
if [ ! -f backend/.env ]; then
|
|
echo "📝 Creating backend/.env from .env.example..."
|
|
cp .env.example backend/.env
|
|
echo "⚠️ Please update backend/.env with your configuration"
|
|
fi
|
|
|
|
# Check PostgreSQL
|
|
echo "🔍 Checking PostgreSQL (port 5433)..."
|
|
if ! nc -z localhost 5433 2>/dev/null; then
|
|
echo "❌ PostgreSQL not running on port 5433"
|
|
echo " Start with: docker compose -f docker-compose.dev.yml up -d postgres"
|
|
exit 1
|
|
fi
|
|
|
|
# Check Redis
|
|
echo "🔍 Checking Redis (port 6380)..."
|
|
if ! nc -z localhost 6380 2>/dev/null; then
|
|
echo "❌ Redis not running on port 6380"
|
|
echo " Start with: docker compose -f docker-compose.dev.yml up -d redis"
|
|
exit 1
|
|
fi
|
|
|
|
echo "✅ All services are running!"
|
|
echo "📦 Installing dependencies..."
|
|
cd backend && npm install && cd ..
|
|
|
|
echo "🎉 Setup complete! Start development with: cd backend && npm run dev"
|