1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

Fix some bugs

This commit is contained in:
Pierre Bourré 2018-12-28 23:00:17 +01:00
parent c0b90b958d
commit 7949e92c59
2 changed files with 6 additions and 8 deletions

View file

@ -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.

View file

@ -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