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

Update install

This commit is contained in:
Éric Gaspar 2023-02-22 09:22:22 +01:00
parent 41191c6e21
commit d219838cb1

View file

@ -19,14 +19,6 @@ ynh_use_nodejs
$ynh_npm install -g configurable-http-proxy $ynh_npm install -g configurable-http-proxy
python3 -m pip install pipenv python3 -m pip install pipenv
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring NGINX web server..." --weight=1
# Create a dedicated NGINX config
ynh_add_nginx_config
#================================================= #=================================================
# SPECIFIC SETUP # SPECIFIC SETUP
#================================================= #=================================================
@ -57,20 +49,16 @@ chown -R root: $install_dir/
chown -R $admin: $install_dir/.venv/ chown -R $admin: $install_dir/.venv/
#================================================= #=================================================
# SETUP SYSTEMD # SYSTEM CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=3 ynh_script_progression --message="Adding system configurations related to $app ..." --weight=1
# Create a dedicated NGINX config
ynh_add_nginx_config
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config ynh_add_systemd_config
#=================================================
# GENERIC FINALIZATION
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description="$app daemon" yunohost service add $app --description="$app daemon"
#================================================= #=================================================