This is a gallery of voila examples. Use this for inspiration on using voila and ipywidgets.
View the gallery at voila-gallery.org.
You can go back to the gallery landing page using the back button of the web browser.
- Create a repository with your notebook. You can start from the hello-world example.
- The gallery launches the examples using repo2docker, exactly the same way Binder does. This means that the repository can be first tested on Binder.
- Test your repository on Binder.
- Create a PR to voila-gallery that
modifies
tljh-voila-gallery/tljh_voila_gallery/gallery.yaml
. You will need to fill in the following fields:title
: the title used in the page thumbnail.description
: the description used in the page thumbnail.url
: the URL of the notebook to render.repo_url
: the URL of the repository serving as source.ref
: the commit hash used to pin to a specific version of the exampleimage_url
: the URL of the picture to use as thumbnail.
The voila gallery is built as a plugin for The Littlest JupyterHub (TLJH). To deploy your own instance:
- Fork the gallery repo: https://github.com/voila-gallery/gallery
- Edit the
tljh-voila-gallery/tljh_voila_gallery/gallery.yaml
file with your own set of examples - Follow one of the tutorials to install TLJH
- At the step asking for user data, use the following command:
#!/bin/bash
curl https://raw.githubusercontent.com/jupyterhub/the-littlest-jupyterhub/master/bootstrap/bootstrap.py \
| sudo python3 - \
--plugin git+https://github.com/<your-username>/gallery@master#"egg=tljh-voila-gallery&subdirectory=tljh-voila-gallery"
- The install process might take between 5 and 10 minutes to complete.
- Dependending on the method and cloud provider chosen in step 1, you will get the public IP of the server, which can be used to access the gallery