Files
UnrealEngineUWP/Engine/Source/Programs/WebTestsServer/runserver.sh
lorry li 8d3f25ce73 Upgrade pip package in python env to fix the pip outdated warning.
#jira UE-182678
[REVIEW] [at]stephen.ma [at]rafa.lecina
#rb [at]stephen.ma [at]rafa.lecina

[CL 27484161 by lorry li in ue5-main branch]
2023-08-30 10:31:43 -04:00

15 lines
338 B
Bash

if [ -d "env" ]; then
source ./env/Scripts/activate.sh
else
run ../../../Binaries/ThirdParty/Python3/Mac/python3 -m venv env
source ./env/Scripts/activate.sh
run python -m pip install --upgrade pip
run pip install -r requirements.txt
if [ $? -ne 0 ]; then
rm -rf env
exit $?
fi
fi
cmd python manage.py runserver 0.0.0.0:8000