sagemath / sage_sample

A sample project illustrating how to write and distribute SageMath extensions
GNU General Public License v2.0
17 stars 15 forks source link

binder support #3

Closed nthiery closed 6 years ago

nthiery commented 7 years ago

binder is a neat web service that gives interactive access to the Jupyter notebooks stored in a GitHub repository. It would be neat to showcase how to include demo notebooks in the package that users can immediately play with on mybinder.

Prerequisite: https://github.com/sagemath/docker-images/issues/23

koffie commented 7 years ago

This sounds nice, note that github also has builtin jupyter support, although admittedly this is non-interactive. So a good start would be to just include a non-interactive notebook first, and then later add support for interactivity. P.s. do you happen to know wether one can "doctest" a jupyter notebook?

nthiery commented 7 years ago

This sounds nice, note that [1]github also has builtin jupyter support, although admittedly this is non-interactive. So a good start would be to just include a non-interactive notebook first, and then later add support for interactivity.

Indeed.

P.s. do you happen to know wether one can "doctest" a jupyter notebook?

Yes; see: https://github.com/computationalmodelling/nbval

nthiery commented 6 years ago

Implemented in a6f2d055d1433417662c284be09cadc5d6227d09 and follow-ups.

nthiery commented 6 years ago

See binder link on top of the README at https://github.com/sagemath/sage_sample ,