25 lines
533 B
Batchfile
25 lines
533 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
cd /d "%~dp0"
|
|
title SystemSimulationApp Launcher
|
|
|
|
if not exist "%~dp0start-backend.bat" (
|
|
echo [ERROR] start-backend.bat was not found.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
if not exist "%~dp0start-reactflow.bat" (
|
|
echo [ERROR] start-reactflow.bat was not found.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo Starting FastAPI and ReactFlow in separate windows...
|
|
|
|
start "FastAPI - 127.0.0.1:8000" "%ComSpec%" /d /c call "%~dp0start-backend.bat"
|
|
start "ReactFlow - 127.0.0.1:5173" "%ComSpec%" /d /c call "%~dp0start-reactflow.bat"
|
|
|
|
exit /b 0
|