1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sutom_ynh.git synced 2024-09-03 20:26:15 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2022-01-28 17:47:38 +01:00
parent 5357e2bb0a
commit aded59f7f8
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -97,6 +97,17 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config
#==============================================
# INSTALL SUTOM
#==============================================
ynh_script_progression --message="Building Sutom... (this will take some time and resources!)" --weight=20
pushd "$final_path"
ynh_use_nodejs
ynh_exec_warn_less npm i -g npm
ynh_exec_warn_less npm install
popd
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
#================================================= #=================================================