Created
August 12, 2018 17:59
-
-
Save JosielFaleiros/9f2703e4524ac3168681fb8a755bddad to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
sudo php -f bin/magento cache:clean | |
sudo rm -rf pub/static/*; | |
sudo rm -rf var/*/*; | |
sudo php -f bin/magento setup:static-content:deploy pt_BR en_US | |
sudo chown -R :www-data . | |
sudo find ./var -type d -exec chmod 777 {} \; | |
sudo find ./pub/media -type d -exec chmod 777 {} \; | |
sudo find ./pub/static -type d -exec chmod 777 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment