-
-
Save tunght13488/9b8035dd26bf07545ca270b00f9e4ab7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
## Magento 2 | |
alias m2="bin/magento" | |
alias m2rmgen="find var/generation -maxdepth 1 -mindepth 1 -type d -not -name 'Magento' -not -name 'Composer' -not -name 'Symfony' -exec rm -rf {} \;" | |
alias m2en="m2 module:enable" | |
alias m2s="m2 module:status" | |
alias m2f="m2 cache:flush" | |
alias m2up="m2en --all && m2 setup:upgrade && m2rmgen && m2f" | |
alias m2static="rm -rf var/view_preprocessed/* && rm -rf pub/static/frontend/* && rm -rf pub/static/_requirejs/frontend/*" | |
alias m2perm="sudo find . -type d -exec chmod 775 {} \; && sudo find . -type f -exec chmod 664 {} \; && sudo chmod u+x bin/magento" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment