mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
15 lines
264 B
Bash
15 lines
264 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Run database migrations
|
|
echo "Running database migrations..."
|
|
npx prisma migrate deploy
|
|
|
|
# Initialize database
|
|
echo "Checking and seeding database if needed..."
|
|
npm run seed
|
|
|
|
# Start the application
|
|
echo "Starting the application..."
|
|
exec "$@"
|