Hi - on my local docker build I set my FLASK_APP to my manage.py file. EG:
export FLASK_APP=/home/app/manage.py
The manage.py file is:
app = create_app()
if __name__ == "__main__":
app.run(host="0.0.0.0", debug=True)
I know in the PythonAnywhere environment I am not using my manage.py to start my Flask app. I assumed that I would need to do this:
export FLASK_APP=/var/www/<my_app_name>_wsgi.py
I get an error:
from dotenv import load_dotenv
ImportError: No module named dotenv
If anyone has any suggestions on how I can get this working it would be greatly appreciated.
Thank you