Git Product home page Git Product logo

binder's Introduction

stability-experimental Build Status

rocker/binder

Adds binder abilities on top of the rocker/tidyverse images.

Deploy methods

Using Docker

This approach works on any machine on which you have Docker installed.

The rocker/binder images can be run like any other docker image:

docker run -p 8888:8888 rocker/binder

Note that binder will run JuyterHub on port 8888 by default. The above command will print to the terminal (and the docker container log) the URL which includes a randomly generated token for secure login, so be sure to include that in the URL you paste into the browser.

Once inside JupyterHub, RStudio Server should be an option under the menu "New":

That should start you into an RStudio session (with no further login required).

Using beta.mybinder.org services

This approach uses the public binder cloud and requires no installation

Add a Dockerfile with the following contents to the root of a GitHub repository.

FROM rocker/binder:3.4.2

Extend as necessary (see below). Then go to <beta.mybinder.org> and enter the https address of your repository to launch your instance on the public Binder infrastructure.

Details

The 3.4.2 indicates the version of R requested. Use a specific version to ensure a consistent build environment or use latest to get the latest avialable version of R and R packages.

No additional lines are needed unless you want to install further libraries. In that case, you will need to first switch to root user to run apt-get, and then switch back to $NB_USER (rstudio) to keep JupterHub startup happy. For instance:

FROM rocker/binder:3.4.2

USER root
RUN apt-get update && apt-get -y install libv8-dev


USER ${NB_USER}

Credits

https://twitter.com/twitter/statuses/921165684188393472

binder's People

Contributors

cboettig avatar amoeba avatar

Watchers

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