Last active
May 14, 2018 07:58
-
-
Save arjus/4ea7293b108fd2e0aea928b94b995165 to your computer and use it in GitHub Desktop.
Commands to force Magento 2 theme deployment when static content is not getting generated
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
chmod -R 775 pub/static/ var/ pub/media/ | |
rm -rf var/view_preprocessed/ var/cache/ var/page_cache/ var/tmp/ var/generation/ pub/static/frontend/ | |
php -r "opcache_reset();" | |
php bin/magento deploy:mode:set developer | |
php bin/magento setup:static-content:deploy en_US -f | |
php bin/magento cache:flush | |
php bin/magento indexer:reindex | |
php bin/magento cache:clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment