Tech4biz-channel/run-frontend.bat
2026-07-09 15:32:31 +05:30

17 lines
477 B
Batchfile

@echo off
REM run-frontend.bat - Windows startup script for Channel Frontend.
echo [INFO] Checking if frontend configuration exists...
if not exist Channel-Frontend\.env (
echo [INFO] Generating Channel-Frontend\.env config...
(
echo VITE_API_URL=http://localhost:5000/api/v1
) > Channel-Frontend\.env
)
echo [INFO] Installing frontend dependencies...
cd Channel-Frontend
call npm install
echo [INFO] Starting Vite frontend dev server...
call npm run dev