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

How to enable real-time collaboration #70

Closed
horaceg opened this issue Apr 19, 2022 · 2 comments
Closed

How to enable real-time collaboration #70

horaceg opened this issue Apr 19, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@horaceg
Copy link

horaceg commented Apr 19, 2022

Problem

There is no section about collaboration specific to the demo. In the jupyterlite docs, it says that it should be enabled but I can't see this on my instance which is a vanilla fork of the demo.

I also tried to deploy my own from scratch, and the collaboration works on my machine but not when it is deployed on e.g. github pages nor gitlab pages.

I have tried to append room=0, put a specific room number in the configuration that I then put in the url, but the two open windows don't show the other modifications.

Suggested Improvement

A section that says how to make real-time collaboration work

@horaceg horaceg added the documentation Improvements or additions to documentation label Apr 19, 2022
@jtpio
Copy link
Member

jtpio commented Apr 19, 2022

Thanks @horaceg.

Enabling RTC is documented here: https://jupyterlite.readthedocs.io/en/latest/rtc/index.html#enabling-rtc-in-jupyterlite

So if you created your own JupyterLite website from this demo repo, you can add a new jupyter-lite.json file with the collaborative setting to the repo.

@horaceg
Copy link
Author

horaceg commented Apr 19, 2022

Hi @jtpio,

Thank you, it seems to work for me in private window only on my computer. I guess this is enough for me.

@horaceg horaceg closed this as completed Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants