1
0
Fork 0

Compare commits

..

2 commits

Author SHA1 Message Date
90361ddc5f update READMEs 2024-11-15 11:23:45 +00:00
b06d3494b1 deploy pre-built HTML: eliminate 'npm build' 2024-11-15 11:22:55 +00:00
3 changed files with 7 additions and 0 deletions

View file

@ -4,6 +4,9 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
# NodeJS version
nodejs_version=18
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================

View file

@ -14,6 +14,8 @@ ynh_script_progression --message="Removing system configurations related to $app
ynh_remove_nginx_config ynh_remove_nginx_config
ynh_remove_nodejs
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================

View file

@ -23,6 +23,8 @@ chown -R "$app:www-data" "$install_dir"
#================================================= #=================================================
ynh_script_progression --message="Restoring the NGINX configuration..." --weight=1 ynh_script_progression --message="Restoring the NGINX configuration..." --weight=1
ynh_install_nodejs --nodejs_version="$nodejs_version"
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#================================================= #=================================================