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:
parent
5357e2bb0a
commit
aded59f7f8
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue