-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpostBuild
25 lines (16 loc) · 851 Bytes
/
postBuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
## Download and prep the dataset
export MELBVIZ_DATA_PATH=${MELBVIZ_DATA_PATH-${HOME}/melbviz_data}
./get-data.sh
## setup Jupyter Lab extensions
# optimise for low-resource installation environments
LABEXT_INSTALL_OPTS="--minimize=False --dev-build=False"
# plotly -- https://plotly.com/python/getting-started
jupyter labextension install ${LABEXT_INSTALL_OPTS} jupyterlab-plotly plotlywidget
# jupyterlab-code-formatter -- https://github.com/ryantam626/jupyterlab_code_formatter
jupyter labextension install ${LABEXT_INSTALL_OPTS} @ryantam626/jupyterlab_code_formatter
jupyter serverextension enable --py jupyterlab_code_formatter
# hide-code -- https://github.com/kirbs-/hide_code
jupyter nbextension install --user --py hide_code
jupyter nbextension enable --user --py hide_code
jupyter serverextension enable --py hide_code