diff --git a/scripts/_common.sh b/scripts/_common.sh index cbc1622..cd2cc42 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,6 +7,8 @@ # dependencies used by the app pkg_dependencies="postgresql" +YNH_COMPOSER_VERSION="2.0.13" + # dependencies used by the app YNH_PHP_VERSION="7.3" diff --git a/scripts/install b/scripts/install index 3f7dfc8..e73fb8f 100755 --- a/scripts/install +++ b/scripts/install @@ -111,6 +111,13 @@ ynh_script_progression --message="Configuring Galette..." --weight=1 ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_path/config/config.inc.php" +#================================================= +# Install PHP dependencies using composer +#================================================= +ynh_script_progression --message="Configuring Composer..." --weight=1 + +ynh_install_composer + #================================================= # GENERIC FINALIZATION #=================================================