Last active
January 22, 2020 14:41
-
-
Save hewersonfreitas/9b3af144db72940fc83d79cc9c9e7654 to your computer and use it in GitHub Desktop.
rebuild magento <=2.1
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
sudo chown -R www-data:www-data /var/www/html/{folder} && | |
sudo rm -rf /var/www/html/{folder}/var/* && | |
sudo rm -rf /var/www/html/{folder}/pub/static/* && | |
sudo chmod -R 777 /var/www/html/{folder}/pub/static && | |
php /var/www/html/{folder}/bin/magento setup:upgrade && | |
php /var/www/html/{folder}/bin/magento setup:di:compile && | |
php /var/www/html/{folder}/bin/magento setup:static-content:deploy pt_BR && | |
chmod -R 777 /var/www/html/{folder}/var && | |
chmod -R 777 /var/www/html/{folder}/pub && | |
sudo chown -R www-data:www-data /var/www/html/{folder} && | |
service varnish restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment