| 123456789101112131415161718192021222324 |
- #!/usr/bin/env bash
- set -euo pipefail
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
- SECKELAPI_BIN="$SCRIPT_DIR/backend/seckelapi/sources/target/release/seckelapi"
- SECKELAPI_SOURCES="$SCRIPT_DIR/backend/seckelapi/sources"
- if [[ ! -f "$SECKELAPI_BIN" ]]; then
- echo "Error: SeckelAPI binary not found at:"
- echo " $SECKELAPI_BIN"
- echo ""
- echo "Please build SeckelAPI first using the setup helper:"
- echo " ./beepzone-helper.sh"
- exit 1
- fi
- echo "Starting SeckelAPI..."
- echo "Binary: $SECKELAPI_BIN"
- echo "Working directory: $SECKELAPI_SOURCES"
- echo ""
- cd "$SECKELAPI_SOURCES"
- exec ./target/release/seckelapi
|