Initial commit: SIBU 2.0 MISSION

This commit is contained in:
2026-02-21 09:53:31 -05:00
commit 0c7aa53c8b
400 changed files with 67708 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#!/bin/bash
set -e
echo "Starting application startup sequence..."
# Run migrations
echo "Running database migrations..."
uv run alembic upgrade head
# Optionally run seeders if RUN_SEEDERS environment variable is set
if [ "${RUN_SEEDERS:-false}" = "true" ]; then
echo "Running database seeders..."
uv run python -m app.core.seed
else
echo "Skipping seeders (set RUN_SEEDERS=true to enable)"
fi
# Start the application
echo "Starting FastAPI application..."
exec "$@"