Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
8 lines
343 B
Bash
Executable File
8 lines
343 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Start a flagd daemon on flags/flags.json (gRPC evaluation on 8013). flagd watches the file,
|
|
# so editing it while this runs is the "change a flag without a deploy" demo.
|
|
# FLAGD_BIN=/path/to/flagd ./scripts/run-flagd.sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
exec "${FLAGD_BIN:-flagd}" start -f "file:$(pwd)/flags/flags.json"
|