This stuff wasn't doing anything. The FLASK_ENV thing used to set flask to run in debug mode. The new equivalent would be FLASK_DEBUG=true, but I think that's a bad idea, because it's what's getting run in the production docker containers. Locally though, I personally like using FLASK_DEBUG=true, it makes it such that when you edit the code Flask automatically reloads with the latest changes.
This stuff wasn't doing anything. The
FLASK_ENV
thing used to set flask to run in debug mode. The new equivalent would beFLASK_DEBUG=true
, but I think that's a bad idea, because it's what's getting run in the production docker containers. Locally though, I personally like usingFLASK_DEBUG=true
, it makes it such that when you edit the code Flask automatically reloads with the latest changes.