-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08cd77c
commit 2037415
Showing
17 changed files
with
51 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# XDebug configuration file. | ||
CONFIG_FILE="/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini" | ||
|
||
if [[ -f "$CONFIG_FILE" ]]; then | ||
if grep -q "^;" "$CONFIG_FILE"; then | ||
echo "✅ Enabling XDebug" | ||
sed -i 's/^;//' "$CONFIG_FILE" | ||
else | ||
echo "✅ Disabling XDebug" | ||
sed -i 's/^/;/' "$CONFIG_FILE" | ||
fi | ||
else | ||
echo "❌ The XDebug configuration file does not exist. Make sure the XDebug PHP extension is installed." | ||
exit 1 | ||
fi | ||
|
||
echo "✅ Restarting Apache" | ||
apachectl -k graceful |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
docker compose exec -u daemon -w /bitnami/magento magento php vendor/bin/composer $@ | ||
docker compose exec -u www-data magento composer $@ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
docker compose exec -u daemon -w /bitnami/magento magento bin/magento $@ | ||
docker compose exec -u www-data magento bin/magento $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
#!/bin/bash | ||
docker compose exec -u daemon -w /bitnami/magento magento bash -c \ | ||
"[ ! -f 'vendor/bin/n98-magerun2' ] && vendor/bin/composer require n98/magerun2-dist" | ||
docker compose exec -u daemon -w /bitnami/magento magento vendor/bin/n98-magerun2 $@ | ||
docker compose exec -u www-data magento vendor/bin/n98-magerun2 $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
#!/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 reinstall sequra/magento2-core | ||
bin/magento module:enable Sequra_Core | ||
bin/magento setup:upgrade | ||
/opt/bitnami/scripts/php/reload.sh | ||
" | ||
echo "Updating Sequra_Core source code" | ||
docker compose exec -u www-data magento /bin/bash -c "COMPOSER_MIRROR_PATH_REPOS=1 composer reinstall sequra/magento2-core && bin/magento module:enable Sequra_Core && bin/magento setup:upgrade" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
docker compose exec magento /docker-entrypoint-init.d/xdebug.sh | ||
docker compose exec magento toggle-xdebug |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.