Quality-first multi-pass audiobook generation from English manuscripts. Includes: - umbraaudio/ core package (pipeline, config, voices, web review UI) - scripts/ CLI utilities + model download script - tts_server/ remote TTS server - specs/ design docs, tests/, pyproject.toml + uv.lock - Qwen3-TTS git submodule (pinned 022e286) with local demo.py UI patch saved at scripts/qwen3_tts_demo_umbra_patch.patch - .env with runtime config/secrets Excluded (see .gitignore): models/ (downloaded via scripts/download_models.sh), output/, logs/, .venv, .umbra runtime data, and book projects (DealHunterShip_*), which are committed separately.
39 lines
969 B
Bash
Executable File
39 lines
969 B
Bash
Executable File
#!/bin/bash
|
|
# UmbraAudio Startup Script
|
|
|
|
set -e
|
|
|
|
echo "=== UmbraAudio Startup ==="
|
|
|
|
# Check MySQL
|
|
echo "Checking MySQL..."
|
|
if ! mysqladmin ping -u root -p'MyQl#26Pas$' --silent 2>/dev/null; then
|
|
echo "Starting MySQL..."
|
|
sudo systemctl start mysql
|
|
fi
|
|
echo "MySQL: OK"
|
|
|
|
# Check Redis
|
|
echo "Checking Redis..."
|
|
if ! redis-cli ping 2>/dev/null | grep -q PONG; then
|
|
echo "Starting Redis..."
|
|
sudo systemctl start redis-server
|
|
fi
|
|
echo "Redis: OK"
|
|
|
|
# Ensure database exists
|
|
echo "Ensuring database..."
|
|
mysql -u root -p'MyQl#26Pas$' -e "CREATE DATABASE IF NOT EXISTS umbra_audio CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" 2>/dev/null
|
|
echo "Database: OK"
|
|
|
|
# Run migrations
|
|
echo "Running migrations..."
|
|
cd /home/bm/Apps/UmbraAudio
|
|
alembic upgrade head 2>/dev/null
|
|
echo "Migrations: OK"
|
|
|
|
echo ""
|
|
echo "=== Services Ready ==="
|
|
echo "Start API server: python -m umbra_audio.main"
|
|
echo "Start Celery worker: celery -A umbra_audio.tasks worker --loglevel=info"
|