This repository has been archived by the owner on Jan 22, 2020. It is now read-only.
Support usage of MyBinder.org - fixes #2, #3 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎉 ❤️ I'm excited about what you have done and very happy that you have shared your code on GitHub! I'm keen on learning more about data visualization and your code is good inspiration. I also love the use of
imagemagick
to generate gifs!Background
This PR is a consequence of @salgo60 who made me spot this tweet in my Twitter feed. Very happy and curious about what I saw I wanted to run the code myself.
MyBinder.org can help anyone run code from git repositories by constructing a custom Dockerfile that pre-installes a good foundation and adds everything needed to run the source code found in a git repository. But, mybinder.org, which is really a BinderHub, which in turn relies on repo2docker, did not yet support installing Python dependencies from
Pipfile
at this time.So, I set out to make a contribution to resolve that (repo2docker#649). With the help of @betatim to review and get it good enough for merge this support has now propagated to mybinder.org.
This makes this repo, with the small adjustment of adding a
apt.txt
file in it listing theimagemagick
dependency runnable with a single click of a button.MyBinder.org buttons
This is a button to run the code in my fork (this PR):
This is a button to run the code in this repo's master branch:
What this PR does
So it is quite a mash of stuff, sorry for not making them separate PRs, I wanted to save some of my time. You can review the commits one by one to better understand what I've done if it seems messy from looking at the files changed section of this PR.
imagemagick
../assets/datastory.mpltstyle
.Finally
@lapidus @miroli I'm hoping to be able to meet you in Stockholm tomorrow if that is possible!
Lots of appreciation for the work you have done!
/ Erik Sundell