I have been a huge advocate of Dash within my organization for its ease of deploying internal web applications on our local networks. I’ve used Dash to make several internal GUI applications, and while I have encountered some challenging obstacles along the way, I’ve almost always found ways to make do with its strange obsession with callbacks, a form of programming which React emerged in order to eradicate. It hasn’t been a dealbreaker, in other words. The ability to transpile a Python program to a working React application is utterly amazing to me, and simplifies so many aspects of full-stack web development that would otherwise require me to work in two completely separate codebases, in two completely different languages, bridging two stateful processes together. I hugely appreciate the work that you’re doing to make full-stack web development not only possible in Python, but a pleasure.
That said. I’m working on an open source, COVID related volunteer project right now for which I used Dash to create something that needs to be usable by other people on my team. I cannot for the life of me understand what you are talking about in your documentation when it says:
import flask
server = flask.Flask(__name__)
app = dash.Dash(__name__, server=server)
By exposing this
server
variable, you can deploy Dash apps like you would any Flask app. For more, see the official Flask Guide to Deployment.
I am well versed with Flask and can assure you, no, I have never had a deployment issue such as this before:
The cynic in me feels like I’m being coerced into paying for Dash Enterprise in order to deploy my app.
4 posts - 3 participants