From dbdd908bb5f2682ecb1236453d18da1053a2c083 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:00:27 +0100 Subject: [PATCH] Fix install mongodb --- scripts/restore | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/restore b/scripts/restore index b4d3588..357e821 100755 --- a/scripts/restore +++ b/scripts/restore @@ -12,6 +12,16 @@ source /usr/share/yunohost/helpers ynh_app_setting_set --app=$app --key=web_api_password --value=$web_api_password +#================================================= +# INSTALL DEPENDENCIES +#================================================= + +ynh_install_nodejs --nodejs_version=$nodejs_version +ynh_install_mongo + +# Upgrade NPM +ynh_npm install --global npm@latest + #================================================= # CREATE A MONGODB DATABASE #=================================================