@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