Excerpt |
---|
Open command prompt (CLI)Navigate to Magento 2 root directory and run the following commands: Upgrade Magento extension(s) Panel |
---|
bgColor | black |
---|
titleBGColor | white |
---|
language | powershell |
---|
theme | Midnight |
---|
title | *nix command |
---|
| bin/magento setup:upgrade |
Re-compile Magento files: Panel |
---|
|
bgColor | black |
---|
titleBGColor | white |
---|
language | powershell |
---|
theme | Midnight |
---|
title | *nix command |
---|
|
bin/magento setup:di:compileThe follwing commands are usually executed for each Magento deployment.
Code Block |
---|
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento indexer:reindex |
Re-deploy static content
Panel |
---|
bgColor | black |
---|
titleBGColor | white |
---|
language | bash |
---|
theme | Midnight |
---|
title | *nix command |
---|
|
bin/magento Code Block |
---|
rm -rf pub/static/frontend/ pub/static/deployed_version.txt pub/static/adminhtml/
bin/magento setup:static-content: |
deploy Clear / Clean Magento cache
- Details can be found on Manage the cache Magento DevDocs
Rebuild Magento indexes:
Panel |
---|
bgColor | black |
---|
titleBGColor | white |
---|
language | bash |
---|
theme | Midnight |
---|
title | *nix command |
---|
|
bin/magento indexer:reindex |
NOTE: For more details about installing custom modules check http://devdocs.magento.com/guides/v2.0/
If you face any issues, try running following command: Panel |
---|
bgColor | black |
---|
titleBGColor | white |
---|
language | bash |
---|
theme | Midnight |
---|
title | *nix command Code Block |
---|
bin/magento cache:clean |
Last but not least, disable the Magento maintenance mode
Code Block |
---|
bin/magento maintenance:disable |
Note |
---|
If you run into any issues, try executing the following command and try again rm -rf var/generation/* generated/*
|
When go though the all steps again