Make sure you have python 3.6 or higher installed.
python -m venv env
Next to activate the environment
On Unix,Mac
source env/bin/activate
On windows
.\env\Scripts\activate.bat
Next, install the necessary dependencies using the requirements.txt file.
pip install -r requirements.txt
Set environment varible to run flask app
On Unix,Mac
export FLASK_APP=app.py
On windows
set FLASK_APP=app.py
Set Debug mode ON
set FLASK_ENV=development
flask run