-
Notifications
You must be signed in to change notification settings - Fork 1
/
postBuild
20 lines (17 loc) · 824 Bytes
/
postBuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
conda activate notebook
jupyter serverextension enable --py nbgitpuller --sys-prefix
# Install QGrid for plain notebook-server.
jupyter nbextension enable --py --sys-prefix qgrid
jupyter nbextension enable --py widgetsnbextension
# Install JupyterLab extensions for JupyterLab < 1.10 !
jupyter labextension install --no-build @jupyter-widgets/jupyterlab-manager # https://github.com/jupyter-widgets/ipywidgets/tree/master/packages/jupyterlab-manager
jupyter labextension install ipyleaflet
## Enable plugins tab, to view installed versions.
mkdir -p ~/.jupyter/lab/user-settings/@jupyterlab/extensionmanager-extension
echo '{
"enabled": true
}
' >> ~/.jupyter/lab/user-settings/@jupyterlab/extensionmanager-extension/plugin.jupyterlab-settings
mkdir -p ~/.jupyter/custom
mv custom.js ~/.jupyter/custom/.