Skip to content

Commit

Permalink
Additional scriupts to help testing
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Oct 16, 2024
1 parent 5278b02 commit 9967727
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/update-sequra
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
echo "Mount Sequra Core module"
docker compose exec -u daemon -w /bitnami/magento magento bash -c "
php ./vendor/bin/composer config repositories.sequra/magento2-core path /Sequra/Core
COMPOSER_MIRROR_PATH_REPOS=1 php ./vendor/bin/composer require sequra/magento2-core:^2.5
bin/magento module:enable Sequra_Core
bin/magento setup:upgrade
"
3 changes: 3 additions & 0 deletions docker-entrypoint-init.d/02-additional_setting.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cd /bitnami/magento/ || exit 0
bin/magento config:set general/country/default $MAGENTO_COUNTRY

0 comments on commit 9967727

Please sign in to comment.