mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
9 lines
174 B
Bash
9 lines
174 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "Running database migrations..."
|
|
npx sequelize-cli db:migrate
|
|
echo "✅ Migrations done."
|
|
|
|
exec pm2-runtime start server.js --name "${APP_NAME:-app}"
|