diff --git a/.ddev/commands/web/install-magento b/.ddev/commands/web/install-magento index 0e48243..edde46d 100755 --- a/.ddev/commands/web/install-magento +++ b/.ddev/commands/web/install-magento @@ -44,6 +44,18 @@ rm -rf magento-temp # change to magento directory cd "${MAGENTO_FOLDER}" || exit 1 +# configure Hyvä theme GitHub repositories +composer config repositories.hyva-themes/magento2-theme-module git https://github.com/hyva-themes/magento2-theme-module.git +composer config repositories.hyva-themes/magento2-default-theme git https://github.com/hyva-themes/magento2-default-theme.git +composer config repositories.hyva-themes/magento2-default-theme-csp git https://github.com/hyva-themes/magento2-default-theme-csp.git +composer config repositories.hyva-themes/magento2-base-layout-reset git https://github.com/hyva-themes/magento2-base-layout-reset.git +composer config repositories.hyva-themes/magento2-compat-module-fallback git https://github.com/hyva-themes/magento2-compat-module-fallback.git +composer config repositories.hyva-themes/magento2-mollie-theme-bundle git https://github.com/hyva-themes/magento2-mollie-theme-bundle.git +composer config repositories.hyva-themes/magento2-luma-checkout git https://github.com/hyva-themes/magento2-luma-checkout.git +composer config repositories.hyva-themes/magento2-theme-fallback git https://github.com/hyva-themes/magento2-theme-fallback.git +composer config repositories.hyva-themes/magento2-order-cancellation-webapi git https://github.com/hyva-themes/magento2-order-cancellation-webapi.git +composer config repositories.hyva-themes/magento2-email-module git https://github.com/hyva-themes/magento2-email-module.git + # Remove *.sample extension find . -name "*.sample" -type f -exec sh -c 'mv "$1" "${1%.sample}"' _ {} \; rm -f package-lock.json # remove basic package-lock.json to avoid conflicts @@ -81,8 +93,8 @@ bin/magento sampledata:deploy # add path repository pointing to the module at the repo root composer config --json repositories.mageforge '{"type":"path","url":"..","options":{"symlink":false}}' -# require module from path repo -composer require 'openforgeproject/mageforge:*' +# require Hyvä theme and mageforge module +composer require 'hyva-themes/magento2-default-theme' 'openforgeproject/mageforge:*' # enable module bin/magento setup:upgrade