Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/2.0' into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paliarush committed Oct 30, 2018
2 parents febe1e9 + 3271180 commit 246a1f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/guest/m-clear-cache
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if [[ -d "${MAGENTO_ROOT}/dev" ]]; then
fi
fi

if [[ -f "${MAGENTO_ROOT}/app/etc/config.php" ]]; then
if [[ -f "${MAGENTO_ROOT}/app/etc/env.php" ]]; then

bash configure_debugging

Expand Down
5 changes: 4 additions & 1 deletion scripts/guest/m-reinstall
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ status "Removing Magento configuration files (env.php and config.php)"
rm -f "${MAGENTO_ROOT}/app/etc/config.php"
rm -f "${MAGENTO_ROOT}/app/etc/env.php"

status "Restoring stored in git config.php (if applicable)"
git checkout "${MAGENTO_ROOT}/app/etc/config.php" &>/dev/null

bash m-clear-cache
# Cache cleaning takes 5-10 seconds and should be avoided until the end of installation to speed up the process
export SKIP_CACHE_CLEAN=1
Expand Down Expand Up @@ -77,7 +80,7 @@ install_cmd="./bin/magento setup:install \
--use-rewrites=1"

# Configure Rabbit MQ
if [[ -d "${MAGENTO_ROOT}/app/code/Magento/MessageQueue" ]] || [[ -d "${MAGENTO_ROOT}/vendor/magento/magento-message-queue" ]]; then
if [[ -d "${MAGENTO_ROOT}/app/code/Magento/MessageQueue" ]] || [[ -d "${MAGENTO_ROOT}/vendor/magento/module-message-queue" ]]; then
install_cmd="${install_cmd} \
--amqp-host=${setupOptions[amqp_host]} \
--amqp-port=${setupOptions[amqp_port]} \
Expand Down

0 comments on commit 246a1f7

Please sign in to comment.