Deploy more complex flask structure ( structure)


I'm trying to deploy a webapp which I created using the structure proposed by flask:

My code resides here:

When running the app locally, I would install it with the before and then just start it and it works fine. However when deploying I run into several issues. Pythonanywhere seems to expect a single python file, where the flask app is defined. So I thought about pointing in the WSGI file to the file here:

However, this does of course not run, as there are circular imports. This is pointed out in the flask tutorial, but is fine, if a file is used.

I would appreciate step by step instructions on how to deploy the website (it's MIT licensed, you can try out for yourself and see if you can get it running). As I'm planning on upgrading and hosting multiple sites here your efforts are not in vain.