1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/n8n_ynh.git synced 2024-09-03 19:55:52 +02:00
This commit is contained in:
Éric Gaspar 2023-06-03 21:33:18 +02:00
parent 512c82c2e1
commit 1e52e31001
4 changed files with 6 additions and 8 deletions

View file

@ -16,7 +16,7 @@ admindoc = "https://docs.n8n.io/"
code = "https://github.com/n8n-io/n8n"
[integration]
yunohost = ">= 11.1.15"
yunohost = ">= 11.1.19"
architectures = "all"
multi_instance = false
ldap = false

View file

@ -4,9 +4,9 @@
# COMMON VARIABLES
#=================================================
nodejs_version=16
nodejs_version=18
n8n_version=0.221.2
n8n_version=0.228.2
#=================================================
# PERSONAL HELPERS

View file

@ -27,10 +27,10 @@ ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression --message="Setting up source files..." --weight=1
#ynh_script_progression --message="Setting up source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
mkdir -p $install_dir
#mkdir -p $install_dir
#=================================================
# INSTALL n8n
@ -42,7 +42,6 @@ pushd $install_dir
ynh_exec_warn_less env $ynh_node_load_PATH npm install n8n@${n8n_version}
popd
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"

View file

@ -61,7 +61,6 @@ then
popd
fi
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
@ -76,7 +75,7 @@ ynh_add_nginx_config
#=================================================
# INSTALL DEPENDENCIES
#=================================================
#REMOVEME? ynh_script_progression --message="Installing dependencies..." --weight=12
ynh_script_progression --message="Installing dependencies..." --weight=12
ynh_install_nodejs --nodejs_version=$nodejs_version