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

JupyterLite deployment #84

Open
jeromekelleher opened this issue Jun 24, 2022 · 4 comments
Open

JupyterLite deployment #84

jeromekelleher opened this issue Jun 24, 2022 · 4 comments

Comments

@jeromekelleher
Copy link
Member

It would be helpful for a lot of reasons if we could have our own JupyterLite deployment on tskit-dev. That way we could host live notebooks for educational content.

We have most of the components needed already in pyodide (although waiting on a release), so we could try this out initially with some simulation/tskit fundamentals notebooks. If it works, we can then look at bringing things like tsinfer in.

Here are the docs for JupyterLite deployment

Any thoughts @benjeffery, @hyanwong?

@jeromekelleher
Copy link
Member Author

It would be extra exciting if we could give these notebooks could inherit a light tskit-dev theme

@hyanwong
Copy link
Member

hyanwong commented Jun 24, 2022

I think this would be really great - the perfect resource for learning tskit. It looks from the docs like you can install your own packages onto the system: is that right? Presumably we expect newer released of pyodide to be able to load e.g. msprime? My workbooks also use jupyterquiz, though, so it would be nice to include that.

Would https://github.com/hyanwong/genealogy_workshop/blob/main/Workshop1.ipynb be a good test case to use? Only needs tskit and msprime, I think. I'm not sure how we load the bespoke "model" that does the workbook setup, though.

@benjeffery
Copy link
Member

Yep, def on the roadmap after we get the basics in.

@hyanwong
Copy link
Member

Subtext is also that the JupyterHub server went down in the workshop just now. It would be much less hassle and more reliable / portable if in the future we could use JupyterLite for workshops too.

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