ChristinaB / DaSB-interview

Apache License 2.0
0 stars 0 forks source link

Reproducible Versioning #1

Open ChristinaB opened 1 month ago

ChristinaB commented 1 month ago

Here are two dev steps for setting up Binder.

Note on using Binder: Do not do dev work here - or if you do, save it manually. All data and code will be deleted after use!! Binder is just a great way to quickly run and test code without installation hassles. It also is a great way to test if your work is reproducible on different cloud platforms.

  1. Click on a Binder badge and see what happens! It's magic!
  2. Set up the Badge in the README.md. You can use badge anywhere, but I also always include it in the first line of repositories that I have Notebooks set up for users who can't/won't be likely to run the code locally like a developer. It avoids all the software environment issues that are usually frustrating for users who are not developers. [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ChristinaB/DaSB-interview/main)
  3. Set up the requirements.txt This is the instruction file for Binder Cloud App to rebuild your software environment so your code will run on their platform.
ChristinaB commented 1 month ago

@jcoll You just have to click on the Binder badge to launch the notebook - and then wait for Binder to get setup. I was able to download all the files and do all the processing in about 15 minutes.

Above I am just explaining how I set up this repository to use Binder - so you are familiar with the methods.