Files
amcs/scripts/run-local.sh
2026-04-05 09:40:38 +02:00

13 lines
255 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
CONFIG_PATH="${1:-configs/dev.yaml}"
if [[ ! -f internal/app/ui/dist/index.html ]]; then
echo "UI build not found; building frontend first..."
make ui-build
fi
go run ./cmd/amcs-server --config "$CONFIG_PATH"