full sync
This commit is contained in:
15
windows/start_backend.bat
Normal file
15
windows/start_backend.bat
Normal file
@@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
for %%I in ("%~dp0..") do set "APP_DIR=%%~fI"
|
||||
set "LOG_DIR=%APP_DIR%\logs"
|
||||
if not exist "%LOG_DIR%" mkdir "%LOG_DIR%"
|
||||
|
||||
start "RC Timing Backend" /min cmd /c "cd /d \"%APP_DIR%\" && npm start >> \"%LOG_DIR%\backend.log\" 2>&1"
|
||||
|
||||
echo [OK] Backend started in background
|
||||
|
||||
echo URL: http://localhost:8081
|
||||
|
||||
echo Log: %LOG_DIR%\backend.log
|
||||
endlocal
|
||||
Reference in New Issue
Block a user