11 lines
221 B
Bash
11 lines
221 B
Bash
#!/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
|