As per flask documentation, FLASK_ENV environmental variable determines whether flask runs in development or production mode.
FLASK_ENV
Hence I have a .env
.env