Skip to content
Snippets Groups Projects
Commit ea148bb7 authored by schmittu's avatar schmittu :beer:
Browse files

jupyter startup scripts now enable toc2 extension

parent 44ab2f35
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ curl -# $BASE_URL/notebooks.tar.bz2 | tar -C ${WORKSHOP_TMP} -xjf -
cat >start_mlw.sh <<END
cd ${WORKSHOP_TMP}
/tmp/conda_envs/mlw/bin/jupyter extension enable toc2/main
/tmp/conda_envs/mlw/bin/jupyter notebook
END
......
......@@ -90,7 +90,8 @@ set -x
export XDG_RUNTIME_DIR=
IP_REMOTE="\$(hostname -i)"
echo "Remote IP:\$IP_REMOTE" >> /cluster/home/$USERNAME/jnbip
$EULER_INSTALL_HONE/conda_env/bin/jupyter notebook --notebook-dir \$HOME/mlw --no-browser --ip "\$IP_REMOTE" &> /cluster/home/$USERNAME/jnbinfo
$EULER_INSTALL_HONE/conda_env/bin/jupyter nbextension enable toc2/main
$EULER_INSTALL_HONE/conda_env/bin/jupyter notebook --port 54323 --notebook-dir \$HOME/mlw --no-browser --ip "\$IP_REMOTE" &> /cluster/home/$USERNAME/jnbinfo
ENDBSUB
# wait until jupyternotebook has started, poll every 10 seconds to check if $HOME/jupyternbinfo exists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment