mirror of
https://github.com/ZTatman/myst.git
synced 2026-11-20 20:07:59 +00:00
- Move TOKEN_ENCRYPTION_KEY from DB to env var (no longer stored alongside encrypted data) - Add one-time setup token printed to server logs to prevent anonymous setup takeover - Setup token persists until first successful login, allowing config retries - Remove setup_complete flag in favor of app_settings nullability check - Fix stale Myst→Firebreak references in crypto.py, dev.sh, pyproject.toml - Add dynamic OAuth callback URL in setup wizard - Fix global heading color override to use foreground instead of danger - Add aria-label to brand link for accessibility - Remove forced redirect to /settings after first login - Remove reconfigure link from landing page - Add styled error page with HTML/JSON content negotiation - Add 401 guard dog easter egg Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
851 B
Bash
Executable file
26 lines
851 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
export DATABASE_URL="postgresql+asyncpg://firebreak:firebreak@localhost:5432/firebreak_db"
|
|
export FIREBREAK_PUBLIC_BASE_URL="http://localhost:8000"
|
|
|
|
echo "Starting local Postgres and Adminer..."
|
|
docker compose -f ../docker-compose.yml up -d db adminer
|
|
|
|
echo "Building Tailwind CSS..."
|
|
./tailwindcss -i ./app/static/css/input.css -o ./app/static/css/output.css
|
|
|
|
echo "Starting Firebreak dev server..."
|
|
echo " FastAPI: http://localhost:8000"
|
|
echo " Adminer: http://localhost:8080"
|
|
echo " PostgreSQL / db / firebreak / firebreak / firebreak_db"
|
|
echo " CSS: watching app/static/css/input.css"
|
|
|
|
./tailwindcss -i ./app/static/css/input.css -o ./app/static/css/output.css --watch &
|
|
TW_PID=$!
|
|
|
|
trap "kill $TW_PID 2>/dev/null" EXIT
|
|
|
|
uv run uvicorn app.main:app --reload --port 8000
|