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

Describe how to use this with JupyterHub #8

Open
MarcSkovMadsen opened this issue Feb 15, 2021 · 2 comments
Open

Describe how to use this with JupyterHub #8

MarcSkovMadsen opened this issue Feb 15, 2021 · 2 comments

Comments

@MarcSkovMadsen
Copy link

I would like to be able to serve Panel apps on JupyterHub.

I have tried pip install jupyter-panel-proxy. But I cannot find a live page anywhere. I need guidance.

I some kind of description of what is required for this to work it would be great.

@smithara
Copy link

smithara commented Mar 22, 2021

For others finding this, to at least get it working in a local JupyterLab:

  1. Install panel at least 0.11.1 (bugfix was made here) and jupyter-panel-proxy
  2. Make your dashboard as a notebook (.py not supported right now) and make sure you mark the panel object with .servable() in the notebook so that it becomes deployable
  3. Put the notebook in the Lab home directory (e.g. ~/demo.ipynb)
  4. Then you can access at e.g. http://127.0.0.1:8888/panel/demo

(Ref https://discourse.holoviz.org/t/how-do-i-serve-my-panel-apps-on-binder/1946/7)

There is some description of this in the docs (Server Deployment) using Binder

Not sure what might be different to run it on a Hub

@markqiu
Copy link

markqiu commented Sep 14, 2022

I used this package in jupyterhub successfully, just added a config file in the home dir and it worked.

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

3 participants