-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs] Rewrite run methods and deployment docs #945
base: main
Are you sure you want to change the base?
Conversation
View the example dashboards of the current commit live on PyCafe ☕ 🚀Updated on: 2025-01-24 17:32:08 UTC Link: vizro-core/examples/dev/ Link: vizro-core/examples/scratch_dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really great refactoring 👍
I have a question: should the Gunicorn section go under deployment? It mentions deployment so naturally would fit better, right?
I agree that the "Gunicorn" section should go under the "Deployment". Great spot!
Also, and maybe related, I am concerned that we aren't that tight about language, or maybe it's my understanding. The file is called run.md and the ToC had the page listed as "Run methods" but we mostly talk about "launching" and then Gunicorn talks about deployment, then there's a section on deployment. Can I get clarity on the difference, or not, in what we mean by "run", "launch" and "deploy" and then I'll run through again and ensure everything is consistent.
I understand the confusion because these terms are quite intertwined here.
So, "run" and "launch" are the same terms that describe running/launching the app locally
(for the development purpose).
However, deployment means more like setting-up and running the production-ready app somewhere on the server
(not locally).
Also, I like the "Launch the dashboard" title, and also the suggestion to move "Gunicorn" under the "Deployment" section. I guess we should rename the file from run.md
-> launch_the_dashboard.md
, and align wordings across documents accordingly.
Thanks @petar-qb, that's really helpful feedback! |
for more information, see https://pre-commit.ci
COPY requirements.txt . | ||
RUN uv pip install --system -r requirements.txt | ||
COPY . . | ||
# (2)! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to put these on the end of the lines rather than on new lines of their own but unfortunately it's not possible without using mkdocs insiders due to limitations with how comments are handled in Dockerfiles.
for more information, see https://pre-commit.ci
…into docs/add-dash-enterprise
for more information, see https://pre-commit.ci
## Dash Enterprise | ||
|
||
Since a Vizro app is a Dash app under the hood, they can be deployed to [Dash Enterprise](https://plotly.com/dash/) and accessed in the same way as other Dash apps. | ||
|
||
Dash Enterprise helps to deploy and scale production-grade data apps and integrate them with IT infrastructure such as authentication and VPC services. Vizro users may find it suitable for deployment, rapid development environments, and authentication. | ||
|
||
Vizro is compatible with the following functionality within Dash Enterprise: | ||
|
||
- [App Portal](https://dash.plotly.com/dash-enterprise/portal?de-version=5.5) | ||
- [App Manager](https://plotly.com/dash/app-manager/) | ||
- [Dash App Workspaces](https://plotly.com/dash/workspaces/) | ||
- [App logs and viewer statistics](https://dash.plotly.com/dash-enterprise/logs?de-version=5.5) | ||
- [Centralized data app management](https://plotly.com/dash/centralized-data-app-management/) | ||
- [CI/CD](https://plotly.com/dash/continuous-integration/) | ||
- [Redis](https://plotly.com/dash/big-data-for-python/) | ||
- [Dash Enterprise Authentication](https://plotly.com/dash/authentication/) | ||
|
||
Vizro is not currently compatible with the [Dashboard Engine](https://plotly.com/dash/snapshot-engine/) or [Dash Design Kit](https://plotly.com/dash/design-kit/), and cannot produce static reports accessed via the [Snapshot Engine](https://plotly.com/dash/snapshot-engine/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LiamConnors could you give this a read to see if you have anything you think is worth adding or changing?
Co-authored-by: Liam Connors <[email protected]>
Co-authored-by: Liam Connors <[email protected]>
Description
@stichbury started reorganising and tidying the "Run methods" page, and @antonymilne extended the changes to rewrite much of it from scratch. This was probably the weakest part of our docs before and it's hopefully much improved now.
Reviewers: don't try to look at the diff, just look at the built docs:
https://vizro--945.org.readthedocs.build/en/945/pages/user-guides/run/
https://vizro--945.org.readthedocs.build/en/945/pages/user-guides/deploy/
Major changes:
uv
TODO:
Notice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":