Last active
June 28, 2017 13:18
-
-
Save mhhansen/e08eae0327a84804c0db8d137bcfc38d to your computer and use it in GitHub Desktop.
Magento 2 pinned commands
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
# Magento 2 install common tasks | |
# alias | |
nano ~/.bash_profile | |
alias mage='php bin/magento' | |
# git ignore filemode changes | |
git config core.filemode false | |
# other git global configs | |
git config --global core.ignorecase false | |
git config --global rerere.enabled 1 | |
git config --global rerere.autoupdate true | |
# install command | |
bin/magento setup:install --admin-firstname=Magento --admin-lastname=Administrador [email protected] --admin-user=admin --admin-password=password123 --base-url=http://local.domain.com/ --db-host=localhost --db-name=test --db-user=test --db-password=test --language=es_AR --currency=ARS --timezone=America/Argentina/Buenos_Aires --use-rewrites=1 | |
bin/magento setup:upgrade | |
bin/magento deploy:mode:set developer | |
bin/magento setup:di:compile | |
# fix local permissions | |
find . -type f -exec chmod 664 {} \; | |
find . -type d -exec chmod 775 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment