Reputation: 97
I am trying to obtain the correct GitHub repo or URL from my GitHub repository for "mybinder.org" so that I can create a link in my repository to launch jupyter-notebook from within my repository. I seem to not be able to set things up correctly.
Upvotes: 2
Views: 1189
Reputation: 2133
I've just made my first binder repo, a very simple one, you could use it as a model.
The steps are:
create a folder called "binder" with a requirements.txt in this repo indicating the packages used in your notebook - or a environment.yml if you use conda instead of pip. See the examples in the docs. Although it is possible to put the requirements.txt in the root folder, creating the "binder" folder reduced the building time from 2-4 minutes to 30s-1 minute.
After you create your repo on github, the only thing you need to do is paste its url (e.g, https://github.com/lincolnfrias/binder/) on mybinder.org e click the launch button.
Please, don't hesitate to ask if you need any clarification.
Upvotes: 2