mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
test arm
This commit is contained in:
parent
e5f7fe9643
commit
6ea9384a9d
2 changed files with 13 additions and 1 deletions
11
conf/jupyterlab.service
Normal file
11
conf/jupyterlab.service
Normal 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
|
|
@ -29,6 +29,7 @@ admin=$YNH_APP_ARG_ADMIN
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Normalize the url path syntax
|
# Normalize the url path syntax
|
||||||
|
test -n "$path_url" || path_url="/"
|
||||||
path_url=$(ynh_normalize_url_path $path_url)
|
path_url=$(ynh_normalize_url_path $path_url)
|
||||||
|
|
||||||
# This function check also the availability of this one
|
# This function check also the availability of this one
|
||||||
|
@ -80,7 +81,7 @@ config_jupyterlab
|
||||||
# DOWNLOAD, CHECK AND INSTALL 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
|
bash Miniconda3-latest-Linux-x86_64.sh -b -p $final_path
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue