mirror of
https://github.com/reconurge/flowsint.git
synced 2026-05-01 03:39:49 -05:00
13 lines
237 B
Bash
Executable File
13 lines
237 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$SKIP_MIGRATIONS" != "true" ]; then
|
|
echo "Running database migrations..."
|
|
alembic upgrade head
|
|
else
|
|
echo "Skipping database migrations (SKIP_MIGRATIONS=true)..."
|
|
fi
|
|
|
|
echo "Starting application..."
|
|
exec "$@"
|