aureon-os / scripts /linux /aureon-up.sh
GaryLeckey's picture
Deploy Aureon OS (deploy/selfhost stack: nginx edge + fusion API x2 + console + HNC organ + redis + postgres; paper mode) (part 19)
da0ce7b verified
Raw History Blame Contribute Delete
489 Bytes
#!/usr/bin/env bash
# Bring Aureon up on Linux. Live trading stays off. Safe to re-run.
set -euo pipefail
ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)"
cd "$ROOT"
export AUREON_LIVE_TRADING=0
export AUREON_SIMULATED_BOOT=0
export PYTHONPATH="${ROOT}${PYTHONPATH:+:$PYTHONPATH}"
if [ ! -x "$ROOT/.venv/bin/python" ]; then
exec bash "$ROOT/production/install.sh"
fi
exec "$ROOT/.venv/bin/python" -m aureon.autonomous.aureon_master_launcher --preflight