diff --git a/scripts/install b/scripts/install index 29f7d26..6604253 100755 --- a/scripts/install +++ b/scripts/install @@ -166,16 +166,11 @@ ynh_system_user_create $app "$final_path" #================================================= # SPECIFIC SETUP #================================================= -# INSTALL WEKAN NPM DEPENDENCIES -#================================================= -ynh_print_info "Installing wekan npm dependencies ..." -# Install wekan 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 +systemctl restart mongodb #================================================= # SETUP SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index 6240306..087535e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -137,17 +137,6 @@ chown -R $app: "$final_path" chmod -R 640 "$final_path" find "$final_path" -type d -print0 | xargs -0 chmod 750 -#================================================= -# INSTALL WEKAN NPM DEPENDENCIES -#================================================= -ynh_print_info "Installing wekan npm dependencies ..." - -# Relaunch a npm install -pushd $final_path/programs/server - ynh_use_nodejs - npm install -popd - #================================================= # SETUP SSOWAT #=================================================