aureon-os / scripts /start_trading.bat
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
612 Bytes
@echo off
setlocal
for %%I in ("%~dp0..") do set "REPO_ROOT=%%~fI"
set "PYTHON_EXE=%REPO_ROOT%\.venv\Scripts\python.exe"
set "BOOTSTRAP=%REPO_ROOT%\scripts\bootstrap\protected_bootstrap_v05.py"
if not exist "%PYTHON_EXE%" (
echo Fixed repository Python executable is unavailable; refusing operation. 1>&2
endlocal & exit /b 1
)
if not exist "%BOOTSTRAP%" (
echo Fixed protected bootstrap is unavailable; refusing operation. 1>&2
endlocal & exit /b 1
)
"%PYTHON_EXE%" -I -S -B "%BOOTSTRAP%" --target-id unified-market-trader
set "EXIT_CODE=%ERRORLEVEL%"
endlocal & exit /b %EXIT_CODE%