11 lines
246 B
Bash
11 lines
246 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "Running database migrations..."
|
|
# Migrations are run automatically by the app on startup
|
|
|
|
echo "Loading initial data if needed..."
|
|
node /app/scripts/load-initial-data.js
|
|
|
|
echo "Starting application..."
|
|
exec node server.js
|