Hi there!
I tried to move my Flask webapp, which works fine with the builtin debug webserver on my local machine, to PythonAnywhere. Now, all I get is a 502 response. The logs don't change when I restart or reach the website. Any pointers as to what could be the problem?
I'm quite sure it's a problem with my code, but without any other error messages I'm helpless :S
Edit: […]
My webapp is structured as a package as described in the flask documentation like this:
/yourapplication
/runserver.py
/yourapplication
/__init__.py
/views.py
/static
/style.css
/templates
layout.html
index.html
login.html
...
[…]
Edit2: Deleted parts of the last edit with observations which had nothing to do with the problem to facilitate future searches.
Any help appreciated!