- Full PWA support with offline capabilities - Comprehensive search across songs, playlists, and channels - Offline playlist manager with download tracking - Pre-built frontend for zero-build deployment - Docker-based deployment with docker compose - Material-UI dark theme interface - YouTube audio download and management - Multi-user authentication support
2.5 KiB
2.5 KiB
🚀 SoundWave - Quick Launch Guide
⚡ One-Command Setup
cd /home/iulian/projects/zi-tube/soundwave
./setup.sh
This automated script will:
- ✅ Create
.envfile with default settings - ✅ Create volume directories
- ✅ Build React frontend
- ✅ Start database services (Elasticsearch + Redis)
- ✅ Start SoundWave application
- ✅ Run database migrations
- ✅ Create admin user
- ✅ Collect static files
Time: ~2-3 minutes
🔐 Default Access
- URL: http://localhost:123456
- Username: admin
- Password: soundwave
📋 Manual Setup (If Needed)
Step 1: Environment File
cp .env.example .env
Step 2: Build Frontend
cd frontend
npm install
npm run build
cd ..
Step 3: Start Services
docker compose up -d
Step 4: Run Migrations
# Wait 30 seconds for Elasticsearch
sleep 30
# Run migrations
docker exec soundwave python manage.py makemigrations audio
docker exec soundwave python manage.py migrate
Step 5: Create Admin User
docker exec -it soundwave python manage.py createsuperuser
🛠️ Common Commands
View Logs
docker compose logs -f soundwave
Stop Services
docker compose down
Restart Application
docker compose restart soundwave
Access Container Shell
docker exec -it soundwave bash
Check Service Status
docker compose ps
🧪 Testing Checklist
After launch, verify:
- ✅ Visit http://localhost:123456
- ✅ Login with admin/soundwave
- ✅ Test local file upload
- ✅ Check PWA install prompt
- ✅ Test offline mode
- ✅ Verify media controls
🐛 Troubleshooting
Port Already in Use
# Change port in docker-compose.yml
nano docker-compose.yml
# Edit: "YOUR_PORT:8888"
Elasticsearch Won't Start
sudo sysctl -w vm.max_map_count=262144
Reset Everything
docker compose down -v
rm -rf audio cache es redis
./setup.sh
📊 What's Included
- ✅ Multi-tenant audio streaming
- ✅ Local file upload with metadata
- ✅ PWA with offline support
- ✅ Media Session API (native controls)
- ✅ 11 optimized icons for all platforms
- ✅ Service worker caching
- ✅ Background sync
- ✅ Lyrics support
- ✅ Artwork management
- ✅ 2FA authentication
- ✅ Theme customization
🎯 Next Steps
- Run
./setup.sh - Wait 2-3 minutes
- Open http://localhost:123456
- Login and enjoy!
📚 Full documentation: See PRE_LAUNCH_CHECKLIST.md