An alternate way to running flask applications.

Process

  1. Make a .flaskenv file
FLASK_APP=api.py
FLASK_ENV=development
  1. flask run