Every time I start up my flask app the environment variable is set to production. I want to have it set to development mode by default. Otherwise every time I start my app
You can do this, unless you specify the enviroment, flask will assume production.
production.
export FLASK_ENV=development flask run