Closed TianzeWang closed 4 months ago
Hey @TianzeWang,
to share a Vizro app, you need to deploy it to a server of your choice: https://vizro.readthedocs.io/en/stable/pages/user-guides/run/#deployment
Given that Vizro is built on top of Dash, similar guidance applies. This guide on how to share a dash app publicly might be helpful.
The syntax may differ; e.g., Vizro().build(dashboard)
returns the app object if you are familiar with Dash already. So you might have to do something like this:
app = Vizro().build(dashboard)
server = app.dash.server
Hope that's helpful! 🤞
Just to add: the Dash docs are pretty outdated here. Heroku no longer has a free tier, so if you're looking for something that's free then the route they recommend is render.
I've personally used render for vizro dashboards and it worked very smoothly. In due course we should work on our docs to explain this or have a project template that does it or have some kind of "one click deploy". FYI @maxschulz-COL @stichbury.
Thanks @huong-li-nguyen and @antonymilne for the kind explanation! Super helpful! Really appreciate it!
Question
Same as the title, is there a way to export the dashboard so that can share to others? As you know sometimes my boss do not want to see the python file and run on his local environments... He just want a website-like stuff and view it directly.
Code/Examples
No response
Other information
No response
Which package?
None
Package version
No response
Python version
No response
OS
No response
Code of Conduct