Skip to content

A SageMath-based computing environment for binder

License

Notifications You must be signed in to change notification settings

kwankyu/sage-binder-env

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Binder repo for SageMath computing environment

This repository is a Binder repo based on SageMath. To access a computing environment created by Binder using SageMath kernel, click on this badge

An example Binder repo for SageMath

Have a repository full of Jupyter notebooks using SageMath? It's easy to set up Binder to let anyone run them. Just fork this repo, put your notebooks in the notebooks directory, and modify this README.rst to your needs. In particular, you probably want to modify this line:

:target: https://mybinder.org/v2/gh/...

with ... filled with the name of your forked repo. This makes the Binder badge use your repo to create the computing environment.

Extending the Dockerfile

The Dockerfile builds Sage with base Docker image:

FROM ghcr.io/sagemath/sage/sage-ubuntu-focal-standard-with-targets:10.3

which contains the latest stable version of Sage.

It includes Sage itself, and all the software packages typically included in a standard Sage installation, though not everything. In particular not optional Sage SPKGs, or other system software packages.

So in order to install additional Sage SPKGs, include a line like:

RUN /sage/sage -i <spkg-name>

in the Dockerfile.

Authors

Nicolas M. Thiéry, E. Madison Bray, and Kwankyu Lee

About

A SageMath-based computing environment for binder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

  • Jupyter Notebook 95.8%
  • Dockerfile 4.2%