Last active
April 19, 2023 03:11
-
-
Save vdloc/99d2868c31037d5c12fb7e3bec72ddd3 to your computer and use it in GitHub Desktop.
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
alias mg-index="php bin/magento indexer:reindex" | |
alias mg-deploy="sudo rm -rf var/view_preprocessed/ var/cache/ var/log/ pub/static/frontend && php bin/magento s:s:d -f -a frontend && mg-clear-cache" | |
alias mg-deploy-fast="sudo rm -rf var/view_preprocessed/ var/cache/ var/log/ pub/static/frontend && php bin/magento s:s:d -f -a frontend en_US de_DE && mg-clear-cache" | |
alias change-php="sudo update-alternatives --config php" | |
alias mg-clear-cache="bin/magento cache:flush" | |
alias start-elasticsearch="sudo systemctl --now enable elasticsearch" | |
alias mg-full-refresh="start-es && php bin/magento indexer:reindex && php bin/magento setup:upgrade && php bin/magento setup:di:compile && rm -rf var/view_preprocessed/ var/cache/ var/log/ pub/static/frontend/ && php bin/magento setup:static-content:deploy -f && php bin/magento cache:flush " | |
alias mg-compile="php bin/magento setup:di:compile" | |
alias mg-upgrade="php bin/magento setup:upgrade" | |
alias mg-deploy-admin="sudo php bin/magento s:s:d -f -a adminhtml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment