feat: new cockpit

This commit is contained in:
OpenSquared
2026-07-14 11:21:43 +02:00
parent 9778c74ae3
commit ad07c8d886
32 changed files with 871 additions and 551 deletions

View File

@@ -1,11 +1,11 @@
# GeoOptions - Start script
# OpenFin - Start script
# Usage: powershell -ExecutionPolicy Bypass -File c:\DataS\OpenFin\start.ps1
$Root = Split-Path -Parent $MyInvocation.MyCommand.Path
Write-Host ""
Write-Host " ============================================" -ForegroundColor Cyan
Write-Host " GeoOptions Intelligence Cockpit v2.0" -ForegroundColor Cyan
Write-Host " OpenFin Intelligence Cockpit v2.0" -ForegroundColor Cyan
Write-Host " ============================================" -ForegroundColor Cyan
Write-Host ""
@@ -31,7 +31,7 @@ $frontendBat = "$Root\_start_frontend.bat"
$backendLines = @(
"@echo off",
"title GeoOptions Backend",
"title OpenFin Backend",
"cd /d `"$Root\backend`"",
"if not exist venv python -m venv venv",
"call venv\Scripts\activate.bat",
@@ -42,7 +42,7 @@ $backendLines | Set-Content -Path $backendBat -Encoding ASCII
$frontendLines = @(
"@echo off",
"title GeoOptions Frontend",
"title OpenFin Frontend",
"cd /d `"$Root\frontend`"",
"if not exist node_modules npm install",
"npm run dev"
@@ -74,7 +74,7 @@ if ($ready) {
Write-Host " Backend OK" -ForegroundColor Green
} else {
Write-Host " ATTENTION : backend non repond apres $timeout`s" -ForegroundColor Red
Write-Host " Verifie la fenetre GeoOptions Backend pour voir l'erreur." -ForegroundColor Red
Write-Host " Verifie la fenetre OpenFin Backend pour voir l'erreur." -ForegroundColor Red
}
# 5. Start frontend