Setup:
- Fork this repository. Do this by clicking the "Fork" button on the right near the top of the page. This copies this repository to your github account.
- Go to Binder, which is how we're going to run Python.
- Copy your github username into the field "GitHub repository name or URL", and then append
/my-python-intro
, this is the name of your git repository on github. - On binder click the "Copy the text below, then paste into your README to show a binder badge:", and copy this text, then go back to github, click the pencil button near these instructions. This opens the edit mode on github.
- Inside this file, paste the text you copied, it should look similar to
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/MQ-software-carpentry/my-python-intro/master)
- To get the nice interface, add
?urlpath=lab
to the end of the url, so now the text you copied should look like:
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/MQ-software-carpentry/my-python-intro/master?urlpath=lab)
- Click "Commit changes" at the bottom, and give a message so you know what's changed. You've made your first git commit, congradulations! Now if you click the binder button that's appeared, binder will automatically launch with your git repository.