@echo off rem Запуск панели акционера на Windows. rem Путь к сетевой папке с CSV задаётся здесь либо в файле .env rem set DATA_DIR=\\fileserver\reports\panel cd /d "%~dp0" if not exist node_modules ( echo Устанавливаем зависимости... call npm install || exit /b 1 ) if not exist client\dist ( echo Собираем интерфейс... call npm run build || exit /b 1 ) if "%PORT%"=="" set PORT=4000 echo Панель запускается: http://localhost:%PORT% node server\index.js