Git Product home page Git Product logo

bokeh's Introduction

Running a bokeh server with Binder

Binder

This repository demonstrates how to run a Bokeh server from within Binder. To do so, we did the following things:

  1. Created a bokeh-app directory in the repo with a main.py file in it. This is the application that will be served. We've added the Bokeh weather example as a demo.

  2. Installed bokeh for the viz and jupyter_server_proxy which we'll use to direct people to the port on which Bokeh runs. See environment.yml.

  3. Added a custom server extension (bokehserverextension.py) that will be run to direct people to the Bokeh app (which is run on a port)

  4. Used postBuild to enable the jupyter_server_proxy extension, then set up and enable our custom server extension for Bokeh.

  5. Created a Binder link that uses urlpath to point users to the port on which the Bokeh server will run:

    https://mybinder.org/v2/gh/binder-examples/bokeh/master?urlpath=/proxy/5006/bokeh-app
    

When people click on the Binder link, they should be directed to the running Bokeh app.

bokeh's People

Contributors

choldgraf avatar gotcha avatar minrk avatar pabloabur avatar

Watchers

 avatar  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.