Files
SkillMate/debug-console.cmd
Claude Project Manager 6b9b6d4f20 Initial commit
2025-09-20 21:31:04 +02:00

60 Zeilen
1.5 KiB
Batchfile

@echo off
title SkillMate Debug Console - Alle Services
color 0E
echo.
echo ================================================
echo SkillMate Debug Console - Alle Services
echo Backend mit vollstaendigem Debug-Log
echo + Frontend + Admin Panel
echo ================================================
echo.
echo Starting all SkillMate services...
echo Zeit: %DATE% %TIME%
echo.
REM Start Frontend
echo Starting Frontend on port 5173...
start "Frontend" cmd /k "cd frontend && npm run dev"
REM Wait a bit
timeout /t 2 /nobreak > nul
REM Start Admin Panel
echo Starting Admin Panel on port 3006...
start "Admin Panel" cmd /k "cd admin-panel && npm run dev"
REM Wait a bit more
timeout /t 3 /nobreak > nul
REM Open browsers after services start
echo Opening browsers...
timeout /t 5 /nobreak > nul
start http://localhost:3006
timeout /t 2 /nobreak > nul
start http://localhost:5173
echo.
echo ================================================
echo Backend Debug Log startet jetzt...
echo Alle API-Requests werden hier angezeigt
echo ================================================
echo.
cd backend
set PORT=3005
set FIELD_ENCRYPTION_KEY=dev_field_key_change_in_production_32chars_min!
set NODE_ENV=development
set DEBUG=*
echo Backend laeuft auf http://localhost:3005
echo Frontend laeuft auf http://localhost:5173
echo Admin Panel laeuft auf http://localhost:3006
echo.
echo === DEBUG LOG ===
echo.
node full-backend-3005.js
echo.
echo Backend wurde beendet. Druecken Sie eine Taste zum Schliessen...
pause