#!/usr/bin/env bash
# Start the EZ-Input plugin host (runs the payments plugin and all other plugins).
# Usage: ./start.sh [port]
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PORT="${1:-8900}"

cd "$SCRIPT_DIR"
# shellcheck source=/dev/null
source .venv/bin/activate

exec uvicorn fastapi_integration:app --host 0.0.0.0 --port "$PORT"
