Git Product home page Git Product logo

gallery's Introduction

voila-gallery-logo

This is a gallery of voila examples. Use this for inspiration on using voila and ipywidgets.

View the gallery at voila-gallery.org.

Going back to the gallery screen

You can go back to the gallery landing page using the back button of the web browser.

Contributing new examples

  1. Create a repository with your notebook. You can start from the hello-world example.
  2. The gallery launches the examples using repo2docker, exactly the same way Binder does. This means that the repository can be first tested on Binder.
  3. Test your repository on Binder.
  4. 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.
    • image_url: the URL of the picture to use as thumbnail.

Deploying your own gallery

The voila gallery is built as a plugin for The Littlest JupyterHub (TLJH). To deploy your own instance:

  1. Fork the gallery repo: https://github.com/voila-gallery/gallery
  2. Edit the tljh-voila-gallery/tljh_voila_gallery/gallery.yaml file with your own set of examples
  3. Follow one of the tutorials to install TLJH
  4. 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"
  1. The install process might take between 5 and 10 minutes to complete.
  2. 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

gallery's People

Contributors

jtpio avatar pbugnion avatar yuvipanda avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.