Files
mtusi2026lab3/scripts/up.sh
T

10 lines
287 B
Bash
Executable File

#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
python3 scripts/bootstrap.py
scripts/compose.sh config --quiet
scripts/compose.sh up -d --build
export BASE_URL="http://localhost:$(sed -n 's/^PUBLIC_PORT=//p' .env)"
python3 scripts/wait-ready.py
printf 'API and Swagger: %s/docs\n' "$BASE_URL"