Skip to content

Setup to run on mybinder.org#5

Closed
betatim wants to merge 3 commits into
TheEconomist:masterfrom
betatim:binder-setup
Closed

Setup to run on mybinder.org#5
betatim wants to merge 3 commits into
TheEconomist:masterfrom
betatim:binder-setup

Conversation

@betatim
Copy link
Copy Markdown

@betatim betatim commented Oct 10, 2018

Hello!

It is great to see work like this happening. I am one of the people who help build and operate mybinder.org. A free public infrastructure based on open-source software we built as part of Project Jupyter. It lets people run notebooks with one click from their browser, no need to install anything.

This PR brings in changes to specify which libraries need to be installed for the notebook to run (install.R), which version of these libraries to use (runtime.txt) and a few words in the README.md to explain to people how to use it.

The links won't work until after this PR has been merged, to try it out visit https://mybinder.org/v2/gh/betatim/big-mac-data/binder-setup?filepath=Big%20Mac%20data%20generator.ipynb instead.

We are big fans of people putting their work out there and want to help to make it as easy as clicking just one link to run that work. A lot of tech savvy people are already using mybinder.org but we want to reach people much further "away" from the Jupyter core hence this PR. Even though it feels a lot like tooting our own horn.

@betatim
Copy link
Copy Markdown
Author

betatim commented Oct 10, 2018

(The mybinder.org link will take you to a holding page for the moment while the tidyverse is being installed, it can take a moment :-/ Once it is done launches should be pretty quick.)

@matthewfeickert
Copy link
Copy Markdown

matthewfeickert commented Oct 10, 2018

The mybinder.org link will take you to a holding page for the moment while the tidyverse is being installed, it can take a moment :-/

@futuraprime, if a very simple CI (maybe something using Travis CI or Circle CI) was added (would be happy to help out with this) then I have a very simple script that can be dropped in to trigger a Binder build on a push to master so that anytime a PR is merged in the new Binder image will be ready for users with no wait time for a new build.

I also have to give much love to Binder and praise @betatim's PR. I can't say enough good things about Binder and the team and it has definitely been a factor in projects of mine getting a lot more interaction with their respective communities. 👍

@jamesmyatt
Copy link
Copy Markdown

jamesmyatt commented Oct 11, 2018

Good work, @betatim. I should have checked before making my own changes (#6).

However, I prefer my updates because:

  • readme.md includes a link to the RStudio version as well, so that you can run the R scripts too
  • install.R includes packages used by the R scripts
  • runtime uses a snapshot from when the analysis was created

@betatim betatim closed this Feb 18, 2020
@jamesmyatt jamesmyatt mentioned this pull request Sep 15, 2020
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

Successfully merging this pull request may close these issues.

3 participants