(1) download flask dependencies using pip pip install -U Flask (2) set the FLASK_APP environment variable to comments.py set FLASK_APP=comments.py (3) start the flask API flask run