- Add comprehensive documentation (IMPLEMENTATION_COMPLETE, ProductionReady, QUICK_START, STARTUP_ANALYSIS) - Add startup scripts (start-server.sh, start-server.bat, check-setup.sh) - Add configs directory structure with README - Add ValidationGuards and Main.js backup - Add LLM monitoring HTML interface - Add cache templates and XML files - Add technical report (rapport_technique.md) - Add bundled code.js 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
90 lines
1.9 KiB
Batchfile
90 lines
1.9 KiB
Batchfile
@echo off
|
|
REM ========================================
|
|
REM SEO Generator Server - Launcher Windows
|
|
REM ========================================
|
|
|
|
echo.
|
|
echo ========================================
|
|
echo SEO Generator Server - Launcher
|
|
echo ========================================
|
|
echo.
|
|
|
|
REM Verifier que Node.js est installe
|
|
where node >nul 2>nul
|
|
if %ERRORLEVEL% NEQ 0 (
|
|
echo [ERREUR] Node.js n'est pas installe ou pas dans le PATH
|
|
echo.
|
|
echo Telecharge Node.js depuis: https://nodejs.org/
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo [OK] Node.js detecte:
|
|
node --version
|
|
echo.
|
|
|
|
REM Verifier que npm est installe
|
|
where npm >nul 2>nul
|
|
if %ERRORLEVEL% NEQ 0 (
|
|
echo [ERREUR] npm n'est pas installe
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo [OK] npm detecte:
|
|
npm --version
|
|
echo.
|
|
|
|
REM Verifier que package.json existe
|
|
if not exist package.json (
|
|
echo [ERREUR] package.json introuvable
|
|
echo Assurez-vous d'etre dans le bon dossier
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
REM Verifier que .env existe
|
|
if not exist .env (
|
|
echo [ATTENTION] Fichier .env introuvable
|
|
echo Le serveur risque de ne pas fonctionner correctement
|
|
echo.
|
|
pause
|
|
)
|
|
|
|
REM Verifier que node_modules existe, sinon installer
|
|
if not exist node_modules (
|
|
echo [INFO] Installation des dependances...
|
|
call npm install
|
|
if %ERRORLEVEL% NEQ 0 (
|
|
echo [ERREUR] Erreur lors de l'installation des dependances
|
|
pause
|
|
exit /b 1
|
|
)
|
|
echo.
|
|
)
|
|
|
|
echo ========================================
|
|
echo Demarrage du serveur...
|
|
echo ========================================
|
|
echo.
|
|
echo Mode: MANUAL
|
|
echo Port: 3000
|
|
echo WebSocket: 8081
|
|
echo.
|
|
echo Interface disponible sur:
|
|
echo http://localhost:3000
|
|
echo.
|
|
echo Appuyez sur Ctrl+C pour arreter le serveur
|
|
echo ========================================
|
|
echo.
|
|
|
|
REM Demarrer le serveur en mode MANUAL
|
|
npm start
|
|
|
|
REM Si le serveur s'arrete
|
|
echo.
|
|
echo ========================================
|
|
echo Serveur arrete
|
|
echo ========================================
|
|
pause
|