Files
XauBot/docker/scripts/start-api.bat
T
GifariKemal b2dc2dacd7 refactor: reorganize project structure — consolidate Docker files, clean root
- Delete temp files: _tmp_analysis.py, nul, dashboard_screenshot.png
- Move ea/ to archive/ea/ (deprecated)
- Move 12 Docker helper scripts (.bat/.sh) to docker/scripts/
- Move 5 Docker docs to docker/docs/
- Move .env.docker.example, requirements-docker.txt to docker/
- Update all scripts with cd to project root for correct path resolution
- Update all doc references to new paths
- Update .gitignore with bot.pid, bot_output.log, *.png patterns
- Update CLAUDE.md, README.md directory trees

Root reduced from ~40 files to 12 essential files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 14:21:11 +07:00

36 lines
757 B
Batchfile

@echo off
REM Start Trading API (FastAPI)
echo.
echo ========================================
echo Starting Trading API
echo ========================================
echo.
cd /d "%~dp0..\.."
REM Check if virtual environment exists
if not exist "venv" (
echo Creating virtual environment...
python -m venv venv
echo.
)
REM Activate virtual environment
call venv\Scripts\activate.bat
REM Install/update dependencies
echo Installing dependencies...
pip install -q fastapi uvicorn pydantic python-dotenv aiohttp
echo.
echo ========================================
echo API Starting on http://localhost:8000
echo ========================================
echo.
echo Press Ctrl+C to stop
echo.
REM Start the API
python web-dashboard\api\main.py