Create postBuild

This commit is contained in:
op07n 2020-01-19 00:02:39 +01:00 committed by GitHub
parent 90ee3c298e
commit f64f7df0f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

6
.binder/postBuild Normal file
View File

@ -0,0 +1,6 @@
# enable nbserverproxy
jupyter serverextension enable --sys-prefix nbserverproxy
# streamlit launches at startup
mv .binder/streamlit_call.py ${NB_PYTHON_PREFIX}/lib/python*/site-packages/
# enable bokeh extension
jupyter serverextension enable --sys-prefix streamlit_call