Files
aios/scripts/run_webops_local.sh
T

8 lines
323 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
WEBOPS_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
export AIOS_WEBOPS_ROOT="$WEBOPS_ROOT"
if [ -f "$WEBOPS_ROOT/config/domains.env" ]; then set -a; . "$WEBOPS_ROOT/config/domains.env"; set +a; fi
: "${AIOS_WEBOPS_PORT:=18081}"
python3 "$WEBOPS_ROOT/app/aios_webops_app.py"