Setting FLASK_APP in an (semi)automated way Setting FLASK_APP in an (semi)automated way flask flask

Setting FLASK_APP in an (semi)automated way


You are probably running your shell script as:

$ path_to_your_script.sh

This loads another shell and executes a script.


If you want to set environment variables for you current shell, use:

$ source path_to_your_script.sh

or (dot at the beginning)

$ . path_to_your_script.sh