Created
August 31, 2016 11:36
-
-
Save thagxt/7cb4f8b06bbf1cb214e434ce9f47f522 to your computer and use it in GitHub Desktop.
Magento 2 > Upgrade to next version via composer
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
composer require magento/product-community-edition 2.1.1 --no-update | |
composer update | |
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 | |
php bin/magento indexer:reindex | |
/* What above does */ | |
// updates composer.json with the version you want to upgrade to | |
composer require magento/product-community-edition 2.1.1 --no-update | |
// makes composer start the upgrade process | |
composer update | |
// clears compiled files, caches and reindexes the system | |
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 | |
php bin/magento indexer:reindex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment