13 lines
255 B
Bash
Executable File
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"
|