Last active
February 21, 2017 01:39
-
-
Save gelanivishal/808fafab272f63b16bb6ed0349e1d46f to your computer and use it in GitHub Desktop.
M2: Useful 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
# deploy static content | |
php bin/magento setup:upgrade | |
rm -rf var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/ pub/static var/composer_home | |
php bin/magento setup:static-content:deploy | |
chmod -Rf 777 pub/ var/ | |
# enable language pack for any language | |
php bin/magento cache:clean | |
php bin/magento setup:static-content:deploy et_EE | |
# permission | |
sudo chmod -Rf 777 var/ | |
sudo chmod -Rf 777 pub/static | |
sudo chmod -Rf 777 pub/media | |
sudo chmod -Rf 777 app/etc | |
sudo chmod -Rf 777 pub/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment