Skip to content
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

Multiple Apps from a single server #40

Closed
pyenthu opened this issue Jun 24, 2017 · 5 comments
Closed

Multiple Apps from a single server #40

pyenthu opened this issue Jun 24, 2017 · 5 comments

Comments

@pyenthu
Copy link

pyenthu commented Jun 24, 2017

Outstanding work Chris. Exploring this still.
One question. Is it possible to launch a routing mechanism with different single page apps from a single server instance?
What I am looking for is different web pages with the same functionality.
Say xxx.yyy.com/dash1, xxx.yyy.com/dash2. xxx.yyy.com/dash3 etc?

@bmike78
Copy link

bmike78 commented Jun 26, 2017

pyenthu,

You could front end all of your Flask instances with Apache. I have some example code here:
https://github.com/bmike78/apache-flask-wsgi

Using SSL and individual virtualenvs are not necessary, but there as examples.

@chriddyp
Copy link
Member

Good question @pyenthu and thanks for the reference @bmike78 !

There is unofficial support for routes right now, and I'm using them to render the multi-page dash docs currently at https://plot.ly/dash.

I wrote about this a little bit in the community forum, so I'll just reference that here: https://community.plot.ly/t/dash-on-multi-page-site-app-route-flask-to-dash/4582

In short: multi-page URLs are possible now but the API is going to change. A new solution for URLs that treats the URLBar as it's own component will be available soon. I'll keep this issue open to track the progress.

@Volodymyrk
Copy link

I believe #70 addresses this pretty well

@chriddyp
Copy link
Member

Support for URLs has been added through the dcc.Link and dcc.Location components. See https://plot.ly/dash/urls for a tutorial :)

@nirvana-msu
Copy link

nirvana-msu commented Sep 5, 2017

This is really useful. When is it going to be included in PyPI package? I would thought that the recent release candidate 0.17.8rc3 should include it, but it doesnt for some reason.

HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 22, 2021
* Add data-* and aria-* attributes

* added role attribute
HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 28, 2021
* Add data-* and aria-* attributes

* added role attribute
HammadTheOne pushed a commit that referenced this issue Jul 23, 2021
* Add data-* and aria-* attributes

* added role attribute
AnnMarieW pushed a commit to AnnMarieW/dash that referenced this issue Jan 6, 2022
Clear the selectedData if the selection box was cleared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants