diff --git a/scripts/upgrade b/scripts/upgrade index dfd3a37..e510b21 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -97,6 +97,17 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." - # Create a dedicated 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 #=================================================