python3 -m pip install --user virtualenv
python3 -m venv <EnvironmentName>
source <EnvironmentName>/bin/activate
deactivate
In one terminal (This keeps running)
python run-server.py
In another one (This keeps running)
export FLASK_APP=main.py
flask run --port=<portNo>