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

Added server deployment guide #642

Merged
merged 2 commits into from
Sep 18, 2019
Merged

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Sep 11, 2019

Topics

  • Server Architecture
  • Authentication (will add example once bokeh 1.4 is released)
  • Local usage
  • SSH tunneling (copied from bokeh docs)

Reverse Proxies

  • Nginx (pointed to bokeh docs)
  • Apache (pointed to bokeh docs)

Platforms

  • AWS
  • Google Cloud
  • Heroku
  • Digital Ocean
  • Azure
  • Binder (or just myBinder?)
  • Anaconda Enterprise

Frameworks

  • Flask
  • Django

@philippjfr philippjfr merged commit dbc0814 into master Sep 18, 2019
philippjfr added a commit that referenced this pull request Sep 18, 2019
@philippjfr philippjfr deleted the philippjfr/deployment_docs branch October 12, 2019 09:38
@neuralvis
Copy link

is there an easy way to deploy panel apps using tornado ?

@philippjfr
Copy link
Member Author

Panel is built on bokeh, which ships with a Tornado server so yes it is. You can find more details here: https://docs.bokeh.org/en/latest/docs/user_guide/server.html

@neuralvis
Copy link

Thanks. I am trying to implement the Panel equivalent of the embedded server as illustrated here - https://github.com/bokeh/bokeh/blob/1.4.0/examples/howto/server_embed/tornado_embed.py

Would I just replace the line here doc.add_root(column(slider, plot)) with a panel object ? i.e.
doc.add_root(pn.Column(widget_box, heat map_fn)) for example ?

@philippjfr
Copy link
Member Author

philippjfr commented Nov 27, 2019

You'd do something like (where you replace the panel_obj with whatever panel app you want:

def bkapp(doc):
    panel_obj = pn.panel('ABC')
    panel_obj.server_doc(doc)

@neuralvis
Copy link

Many thanks!! I’ll make up an example and contribute it back to the documentation!

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

Successfully merging this pull request may close these issues.

None yet

2 participants