13 lines
206 B
Bash
Executable File
13 lines
206 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
echo "Starting deployment..."
|
|
|
|
# Run migrations
|
|
echo "Running database migrations..."
|
|
npx prisma migrate deploy
|
|
|
|
# Start the application
|
|
echo "Starting application..."
|
|
exec node server.js
|