BodyBalanceEvaluation/test_start.bat

41 lines
781 B
Batchfile
Raw Normal View History

2025-07-28 11:59:56 +08:00
@echo off
echo Testing start_dev.bat functionality
echo.
:: Check if virtual environment exists
if exist "backend\venv\Scripts\activate.bat" (
echo Virtual environment found
call backend\venv\Scripts\activate.bat
echo Virtual environment activated
) else (
echo Virtual environment not found
)
:: Check if main.py exists
if exist "backend\main.py" (
echo main.py found
) else (
echo main.py not found
)
:: Test basic Python execution
echo Testing Python execution...
python --version
if %errorlevel% equ 0 (
echo Python is working
) else (
echo Python test failed
)
:: Test Node.js
echo Testing Node.js...
node --version
if %errorlevel% equ 0 (
echo Node.js is working
) else (
echo Node.js test failed
)
echo.
echo Test completed
pause