* feat(web): Jinja2 + HTMX + Pico CSS boilerplate - Add jinja2, aiofiles, jinja2-fragments, python-multipart deps - Wire up Jinja2Blocks (jinja2-fragments) and static file serving - Create base.html (Pico Jade theme, HTMX, nav with auth state) - Create index.html (landing) and dashboard.html (user profile) - Add get_optional_session dependency for anonymous template context - Refactor get_current_session to share session lookup logic * feat(web): replace Pico CSS with Tailwind standalone CLI (dark+pink theme) - Download Tailwind v4.3.0 standalone CLI binary (gitignored) - Define custom dark+pink theme tokens in input.css - Add dev.sh for parallel Tailwind watcher + uvicorn - Update Dockerfile to build Tailwind during image build - Update templates with Tailwind utility classes - Generate minified output.css at build time * Update boilerplate UI design system * Refine Forgejo sign-in button * feat(ui): adjust starting ui template html structure and theme styling * refactor(ui): normalize Tailwind design tokens * refactor(ui): fix Forgejo token input styling and validation styling * refactor(ui): move panel titles and sub titles outside panels * refactor(ui): vendor forgejo logo svg from /web/static/img
21 lines
609 B
Bash
Executable file
21 lines
609 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
export DATABASE_URL="postgresql+asyncpg://myst:myst@localhost:5432/myst_db"
|
|
export MYST_PUBLIC_BASE_URL="http://localhost:8000"
|
|
|
|
echo "Building Tailwind CSS..."
|
|
./tailwindcss -i ./app/static/css/input.css -o ./app/static/css/output.css
|
|
|
|
echo "Starting Myst dev server..."
|
|
echo " FastAPI: http://localhost:8000"
|
|
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
|