Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Install NBDime #132

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ RUN jupyter labextension update --all && \
jupyterlab-plotly \
plotlywidget

# Also install NBDIME jupyterlab extension
# https://nbdime.readthedocs.io/en/latest/extensions.html
RUN nbdime extensions --enable && \
nbdime config-git --enable --system
# This json sends web-based diff and merge tools to an IP that is accessible
COPY nbdime_config.json /opt/conda/etc/jupyter

## clean up
RUN sudo rm -rf /var/lib/apt/lists/* /tempdir
Expand Down
5 changes: 5 additions & 0 deletions notebook/nbdime_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"WebTool": {
"ip": "*"
}
}
1 change: 1 addition & 0 deletions notebook/notebook_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- ipympl=0.3.3=py_0
- jupyterlab_code_formatter=0.7.0=py_0
- nano=2.9.8=hb256ff8_1000
- nbdime=2.0.0
- nb_conda_kernels=2.2.2=py37_0
- nose=1.3.7=py37_1003
- octave_kernel=0.31.0=py_0
Expand Down