Files
UnrealEngineUWP/Engine/Source/Programs/WebTestsServer/runserver.bat

16 lines
310 B
Batchfile
Raw Normal View History

@echo off
if exist env (
call .\env\Scripts\activate.bat
) else (
..\..\..\Binaries\ThirdParty\Python3\Win64\python.exe -m venv env
call .\env\Scripts\activate.bat
pip install -r requirements.txt
if %ERRORLEVEL% NEQ 0 (
rmdir /s /q env
exit %ERRORLEVEL%
)
)
python manage.py runserver 0.0.0.0:8000