mirror of
https://github.com/the-epsd/rebirth.git
synced 2026-12-04 16:28:06 -06:00
16 lines
383 B
Bash
Executable File
16 lines
383 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build (venv + deps + cert + DB) and start the SpiritPTCGO server.
|
|
# Drag this file into Terminal and press Return, or double-click it in Finder.
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
if [[ ! -f ./run.sh ]]; then
|
|
echo "error: run.sh not found next to this file ($(pwd))."
|
|
read -r -p "Press Return to close…"
|
|
exit 1
|
|
fi
|
|
|
|
chmod +x ./run.sh
|
|
exec ./run.sh
|