Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

How to Deploy a Dash app on Dreamhost/Passenger?

$
0
0

I’m finding very little information on how to deploy a Dash app and what guidelines that I find are incomplete, old, and/or in conflict with each other. I realize it’s essentially a Flask app, but there is deep structure to a Flask app and my Dash app is just one file.

I’ve gotten so far as to successfully get an “Incomplete response received from application” from Passenger, but I’m confused about how Passenger “gets” the app, whether I need any routes, etc.

Right now I’ve just got a line in passenger_wsgi.py that says:

from app_folder import main_file as application

And the regular lines at the end of my app file (which I assume are incorrect) that say:

if __name__ == '__main__':
    app.run_server(debug=True)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles