I just started learning flask and I am stuck at setting up the Flask environment variables. I don\'t know how to setup the environment variables. Whenever I use the flask
flask
you need to provide an application environment. So Flask needs to know, the .py file to run. Try to run that command
.py
export FLASK_APP=application.py
where application.py - name of your Flask app in my case it is application.py.
application.py
after that
flask run