blob: 85cd7d547742b24a1a8eeec6b6cd9277b2d9468e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/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
|