-
-
Save daniloaldm/35780a00519d58a537a2d2acc0a19a1e to your computer and use it in GitHub Desktop.
rebuild magento >=2.2.x
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
sudo chown -R www-data:www-data /var/www/html/{loja} && | |
sudo rm -rf /var/www/html/{loja}/var/* && | |
sudo rm -rf /var/www/html/{loja}/generated/* && | |
sudo rm -rf /var/www/html/{loja}/pub/static/* && | |
sudo chmod -R 777 /var/www/html/{loja}/pub/static && | |
php /var/www/html/{loja}/bin/magento setup:upgrade && | |
php /var/www/html/{loja}/bin/magento setup:di:compile && | |
php /var/www/html/{loja}/bin/magento setup:static-content:deploy pt_BR -f && | |
chmod -R 777 /var/www/html/{loja}/var && | |
chmod -R 777 /var/www/html/{loja}/pub && | |
chmod -R 777 /var/www/html/{loja}/generated && | |
sudo chown -R www-data:www-data /var/www/html/{loja} && | |
service varnish restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment