Spaces:
Runtime error

aureon-os / scripts /linux /aureon-up.sh
GaryLeckey's picture
Publish Aureon OS from source ca6be206f108a2474a8cb38faf9ad3ae836e1479 (files 1-250/16781) (#1)
56c0d82
Raw History Blame Contribute Delete
474 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