Skip to content

Commit df8bf9a

Browse files
committed
Install Jupyterlab for root user
1 parent f8e7e27 commit df8bf9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/python/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,9 @@ if [ "${INSTALL_JUPYTERLAB}" = "true" ]; then
941941

942942
add_user_jupyter_config $CONFIG_DIR $CONFIG_FILE "c.ServerApp.allow_origin = '${CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN}'"
943943
add_user_jupyter_config $CONFIG_DIR $CONFIG_FILE "c.NotebookApp.allow_origin = '${CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN}'"
944+
if [ "$INSTALL_UNDER_ROOT" = true ]; then
945+
add_user_jupyter_config $CONFIG_DIR $CONFIG_FILE "c.ServerApp.allow_root = True"
946+
fi
944947
fi
945948
fi
946949

0 commit comments

Comments
 (0)