diff --git a/conf/jupyterhub_config.py b/conf/jupyterhub_config.py index ef28bb0..6e3ee7c 100644 --- a/conf/jupyterhub_config.py +++ b/conf/jupyterhub_config.py @@ -466,7 +466,7 @@ c.JupyterHub.bind_url = '__URL__:__PORT__/__PATH__' # Some spawners allow shell-style expansion here, allowing you to use # environment variables. Most, including the default, do not. Consult the # documentation for your spawner to verify! -c.Spawner.cmd = ['jupyter-labhub'] +c.Spawner.cmd = ['/opt/miniconda3/bin/jupyter-labhub'] ## Maximum number of consecutive failures to allow before shutting down # JupyterHub. diff --git a/scripts/install b/scripts/install index 1994bda..7d47ccd 100644 --- a/scripts/install +++ b/scripts/install @@ -74,7 +74,7 @@ ynh_add_nginx_config #================================================= # Configure jupyterlab with jupyterhub_config.py file -config_jupyterhub +config_jupyterlab #================================================= # DOWNLOAD, CHECK AND INSTALL JUPYTERLAB @@ -82,18 +82,16 @@ config_jupyterhub wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/miniconda3 +bash Miniconda3-latest-Linux-x86_64.sh -b -p $final_path -/opt/miniconda3/bin/conda install -c conda-forge jupyterhub -/opt/miniconda3/bin/conda install notebook -/opt/miniconda3/bin/conda install jupyterlab -/opt/miniconda3/bin/conda install -c conda-forge jupyterhub-ldapauthenticator +/opt/miniconda3/bin/conda install -c conda-forge jupyterhub notebook jupyterlab jupyterhub-ldapauthenticator -y #================================================= # SPECIFIC SETUP #================================================= -jupyter labextension install @jupyterlab/hub-extension +/opt/miniconda3/bin/jupyter labextension install @jupyterlab/hub-extension +/opt/miniconda3/bin/jupyter lab build #TODO Add admin