Class_generator/Start_Class_Generator.bat
StillHammer fe7153d28b Fix compatibility system and improve UX
- Add intelligent content-game compatibility system with visual badges
- Fix Adventure Reader to work with Dragon's Pearl content structure
- Implement multi-column games grid for faster navigation
- Add pronunciation display for Chinese vocabulary and sentences
- Fix navigation breadcrumb to show proper hierarchy (Home > Levels > Content)
- Add back buttons to all navigation pages
- Improve JSONContentLoader to preserve story structure
- Add comprehensive debugging and diagnostic tools

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 19:29:21 +08:00

68 lines
1.9 KiB
Batchfile

@echo off
title Class Generator - Startup
color 0A
echo ========================================
echo CLASS GENERATOR - DEMARRAGE
echo ========================================
echo.
cd /d "%~dp0"
echo [1/6] Arret des instances precedentes...
echo ----------------------------------------
taskkill /F /IM node.exe >nul 2>&1
taskkill /F /IM python.exe >nul 2>&1
echo OK - Instances precedentes arretees
timeout /t 1 /nobreak > nul
echo [2/6] Demarrage du serveur WebSocket Logger (port 8082)...
echo ----------------------------------------
cd export_logger
start /B node websocket-server.js
cd ..
timeout /t 2 /nobreak > nul
echo [3/6] Demarrage du serveur HTTP (port 8080)...
echo ----------------------------------------
start /B python -m http.server 8080
timeout /t 3 /nobreak > nul
echo [4/6] Verification des serveurs...
echo ----------------------------------------
echo OK - Serveur WebSocket demarre sur le port 8082
echo OK - Serveur HTTP demarre sur le port 8080
echo.
echo [5/6] Ouverture du logger en priorite...
echo ----------------------------------------
start "" "http://localhost:8080/export_logger/logs-viewer.html"
timeout /t 2 /nobreak > nul
echo [6/6] Ouverture de l'application principale...
echo ----------------------------------------
start "" "http://localhost:8080"
echo.
echo ========================================
echo DEMARRAGE TERMINE AVEC SUCCES!
echo ========================================
echo.
echo Serveur HTTP: http://localhost:8080
echo Serveur WebSocket: ws://localhost:8082
echo Application: Ouverte dans votre navigateur
echo Logger: Accessible via le bouton en haut a droite
echo.
echo Cette fenetre peut etre fermee.
echo Les serveurs continuent en arriere-plan.
echo.
echo Pour arreter les serveurs:
echo - Relancez ce script (il tue automatiquement les anciennes instances)
echo - Ou dans le gestionnaire de taches: Terminer node.exe et python.exe
echo.
timeout /t 5 /nobreak > nul
exit