Skip to content

Commit 074f0d7

Browse files
james-d-mitchellwilfwilson
authored andcommitted
Add Dockerfile, badge, and demo notebook
1 parent d81d4e1 commit 074f0d7

File tree

4 files changed

+355
-0
lines changed

4 files changed

+355
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@ install-sh
7171
missing
7272
*.swo
7373
coverage
74+
.ipynb_checkpoints

Dockerfile

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM gapsystem/gap-docker
2+
3+
MAINTAINER J. D. Mitchell <[email protected]>
4+
5+
COPY --chown=1000:1000 . $HOME/digraphs
6+
7+
RUN rm -rf $HOME/inst/gap-4.10.2/pkg/digraphs-* && mv $HOME/digraphs $HOME/inst/gap-4.10.2/pkg/ && cd $HOME/inst/gap-4.10.2/pkg/digraphs && ./autogen.sh && ./configure && make
8+
9+
RUN sudo pip3 install ipywidgets RISE jupyter_francy
10+
11+
RUN jupyter-nbextension install rise --user --py
12+
13+
RUN jupyter-nbextension enable rise --user --py
14+
15+
RUN sudo jupyter nbextension enable --user --py --sys-prefix jupyter_francy
16+
17+
USER gap
18+
19+
WORKDIR $HOME/inst/gap-4.10.2/pkg/digraphs/notebooks

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.198140.svg)](https://doi.org/10.5281/zenodo.198140)
22
[![Build Status](https://travis-ci.org/gap-packages/Digraphs.svg?branch=master)](https://travis-ci.org/gap-packages/Digraphs)
3+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/gap-packages/digraphs/master)
4+
35

46
## README
57

0 commit comments

Comments
 (0)