How to configure a Dash web app as a pythonanywhere wsgi application

Dash apps have a app.server that you need to pass to WSGI. Your WSGI file (which you can find linked from the "Web" page) will have something like this:

from myapp import app
application = app.server

We followed this Dash tutorial and created this website using the code from the first example. You can take a look at the git repo here.

Other than that, be sure to check out our guide to Debugging import errors for general tips on dealing with problems in your wsgi config.