#!/bin/bash
set -e
echo "Running migrations..."
alembic upgrade head

echo "Seeding templates and admin user..."
python seed.py

echo "Starting API server..."
exec uvicorn app.main:app --host 0.0.0.0 --port 8888 --reload
