1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00
This commit is contained in:
Pierre Bourré 2018-12-29 11:06:34 +01:00
parent e5f7fe9643
commit 6ea9384a9d
2 changed files with 13 additions and 1 deletions

11
conf/jupyterlab.service Normal file
View file

@ -0,0 +1,11 @@
[Unit]
Description=Jupyterlab
After=syslog.target network.target
[Service]
User=root
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:__FINAL_PATH__/bin"
ExecStart=Jupyterhub -f __CONFIG_PATH__/jupyterhub_config.py
[Install]
WantedBy=multi-user.target

View file

@ -29,6 +29,7 @@ admin=$YNH_APP_ARG_ADMIN
#=================================================
# Normalize the url path syntax
test -n "$path_url" || path_url="/"
path_url=$(ynh_normalize_url_path $path_url)
# This function check also the availability of this one
@ -80,7 +81,7 @@ config_jupyterlab
# DOWNLOAD, CHECK AND INSTALL JUPYTERLAB
#=================================================
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-$miniconda_architecture.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p $final_path