From 4c1f2fe29a51861bd827238ebe862c4a012eabaa Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 6 Mar 2019 04:33:12 +0100 Subject: [PATCH] Remove npm install step --- scripts/install | 8 -------- scripts/upgrade | 6 ------ 2 files changed, 14 deletions(-) diff --git a/scripts/install b/scripts/install index ab1bc82..8af2114 100755 --- a/scripts/install +++ b/scripts/install @@ -90,14 +90,6 @@ ynh_system_user_create $app "$final_path" #================================================= # SPECIFIC SETUP #================================================= -# Install wekan dependencies -ynh_print_info "Installing npm dependencies ..." -chown -R $app $final_path -pushd $final_path/programs/server -ynh_use_nodejs -npm install -popd - # Start mogodb ynh_print_info "Starting mongodb ..." systemctl enable mongodb diff --git a/scripts/upgrade b/scripts/upgrade index 6d2d9cd..f0b7bc9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,12 +105,6 @@ chown -R $app: "$final_path" chmod -R 640 "$final_path" find "$final_path" -type d -print0 | xargs -0 chmod 750 -# Relaunch a npm install -pushd $final_path/programs/server -ynh_use_nodejs -npm install -popd - #================================================= # RELOAD NGINX #=================================================