Files
OpenFin/start_backend.bat
OpenSquared d256b65d30 Initial commit — GeoOptions Intelligence Cockpit v2.0
Stack: FastAPI + React/TypeScript + SQLite + GPT-4o
Features: Radar géopolitique, Marchés, Régime Macro, Journal de Bord MTM,
Rapport IA, Super Contexte (base de raisonnement évolutive), Boucle feedback IA.
Deploy: Docker + docker-compose + nginx pour openfin.open-squared.tech

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 20:29:59 +02:00

37 lines
818 B
Batchfile

@echo off
title GeoOptions - Backend API
cd /d "%~dp0backend"
echo ============================================
echo GeoOptions Intelligence - Backend FastAPI
echo ============================================
echo.
:: Check Python
python --version >nul 2>&1
if errorlevel 1 (
echo ERREUR: Python n'est pas installe ou pas dans le PATH
pause
exit /b 1
)
:: Create venv if needed
if not exist "venv" (
echo Creation de l'environnement virtuel...
python -m venv venv
)
:: Activate venv
call venv\Scripts\activate.bat
:: Install deps if needed
echo Installation des dependances...
pip install -r requirements.txt -q
echo.
echo Backend demarre sur http://localhost:8000
echo Documentation API: http://localhost:8000/docs
echo.
python -m uvicorn main:app --host 0.0.0.0 --port 8000 --reload
pause