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

Real Time Collaboration #270

Closed
betolink opened this issue Nov 16, 2021 · 6 comments
Closed

Real Time Collaboration #270

betolink opened this issue Nov 16, 2021 · 6 comments

Comments

@betolink
Copy link

Is there a way to enable the real time collaboration if I'm using the base image?

https://jupyterlab.readthedocs.io/en/stable/user/rtc.html

Maybe overriding the start entry point to add the --collaborative flag?

@scottyhq
Copy link
Member

@betolink agreed this is a neat feature. I assume you mean using one of these images in a JupyterHub context, and I'm pretty sure that has to be set via JupyterHub/DaskHub helm chart configuration... Pinging @consideRatio and @sgibson91 who might be able to point to the right docs describing how this could be done.

@betolink
Copy link
Author

Thanks Scott, looks like it's possible but the hub needs to be configured a bit differently. See: 2i2c-org/infrastructure#810 (comment)

@consideRatio
Copy link
Member

consideRatio commented Nov 22, 2021

Z2JH based config:

singleuser:
  cmd:
    - jupyterhub-singleuser
    - --LabApp.collaborative=True

General JupyterHub config:

c.Spawner.cmd = ["jupyterhub-singleuser", "--LabApp.collaborative=True"]

Note you may also want to install jupyterlab-link-share extension for a button in the JupyterLab UI for users to use, depending on your setup, it may or may not work for it to fetch a token that grants other access via link sharing.

@consideRatio
Copy link
Member

Sounds resolved, close issue?

@betolink
Copy link
Author

Thanks for the guidance, just for future reference it would probably be useful to mention that real time collaboration can be enabled for Pangeo deployments.

@consideRatio
Copy link
Member

I agree, not sure where to document this though without it being written in too many separate places which we end up failing to maintain if something changes.

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