Created
September 22, 2016 15:47
-
-
Save ao/79eb1cffd1b9cc52d0c8933fb75180c6 to your computer and use it in GitHub Desktop.
useful magento2 cli 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
---- | |
rm -rf var/di var/generation | |
php bin/magento cache:clean | |
php bin/magento cache:flush | |
php bin/magento setup:di:compile | |
chmod -R 777 var | |
---- | |
composer require magento/product-community-edition 2.0.5 --no-update | |
composer update | |
sudo rm -rf var/di var/generation | |
php bin/magento cache:clean | |
php bin/magento cache:flush | |
php bin/magento setup:upgrade | |
php bin/magento setup:di:compile | |
sudo php bin/magento indexer:reindex | |
---- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment