sjsrey / pysalfoss4g19

18 stars 6 forks source link

Binder setup? #1

Open darribas opened 5 years ago

darribas commented 5 years ago

I'm currently teaching a course with a similar scope and I'm finding Binder a great backup to have for when local installs fail. It's not perfect, but it can get somebody up to speed quickly. I'd be happy to issue a PR with a quick setup for binder. Let me know if that'd be of interest.

sjsrey commented 5 years ago

Just seeing this. Thanks for the offer. Once the dust settles on our materials I might do this later this evening.

darribas commented 5 years ago

No worries, I should have linked to an example. I think you got it working, but just in case, here's an example that uses the GDS Docker container. The way to get it to work is simply by placing the Dockerfile on the root folder and Binder will read it correctly. The only added benefit of this is that since it pulls an already built container, there's no risk of changes upstream having an effect on the day of the workshop (which you potentially would with the environment.yml approach).

sjsrey commented 5 years ago

Binder actually worked really well as the conference wifi was painful so a few folks didn't have the luxury of doing the onsite install. Binder to the rescue. We even had to rebuild the image in midstream as we inadvertently had omitted a notebook. Worked like a charm.