localspot/rel/overlays/bin/server
Kevin Sivic 48f9322f61
All checks were successful
CI - Test, Build, and Push / test (push) Successful in 2m43s
CI - Test, Build, and Push / build-and-push (push) Successful in 15s
Run migrations automatically on server startup
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 14:22:38 -05:00

9 lines
177 B
Bash
Executable file

#!/bin/sh
set -eu
cd -P -- "$(dirname -- "$0")"
# Run migrations before starting the server
./localspot eval Localspot.Release.migrate
PHX_SERVER=true exec ./localspot start