Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .ddev/commands/web/install-magento
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines +48 to +52
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
Comment on lines +53 to +57

Comment thread
dermatz marked this conversation as resolved.
# 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
Expand Down Expand Up @@ -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:*'
Comment thread
dermatz marked this conversation as resolved.

# enable module
bin/magento setup:upgrade
Loading