Forums

Application Factory Patter

Hello Would it be possible to add a documentation on how to deploy flask app when using application factory pattern? I use the same pattern as in official flask tutorial (with __init__.py file in flaskr dir) but have no luck.

Deployment of a web app on PythonAnywhere is basically done via the UI on the Web page -- have a look at our help pages for different scenarios or for setting up Flask applications in particular. Then, if your app is not working, check the error logs and share more details with us, if you still need assistance.