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>
This commit is contained in:
36
start_backend.bat
Normal file
36
start_backend.bat
Normal file
@@ -0,0 +1,36 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user