soundwave/docs/QUICK_LAUNCH.md
Iulian 51679d1943 Initial commit - SoundWave v1.0
- 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
2025-12-16 23:43:07 +00:00

2.5 KiB

🚀 SoundWave - Quick Launch Guide

One-Command Setup

cd /home/iulian/projects/zi-tube/soundwave
./setup.sh

This automated script will:

  1. Create .env file with default settings
  2. Create volume directories
  3. Build React frontend
  4. Start database services (Elasticsearch + Redis)
  5. Start SoundWave application
  6. Run database migrations
  7. Create admin user
  8. Collect static files

Time: ~2-3 minutes

🔐 Default Access

📋 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:

  1. Visit http://localhost:123456
  2. Login with admin/soundwave
  3. Test local file upload
  4. Check PWA install prompt
  5. Test offline mode
  6. 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

  1. Run ./setup.sh
  2. Wait 2-3 minutes
  3. Open http://localhost:123456
  4. Login and enjoy!

📚 Full documentation: See PRE_LAUNCH_CHECKLIST.md