You need to put this command on CMD | Terminal
For Upgrade data in Magento 2
For Upgrade data in Magento 2
php -dmemory_limit=5G bin/magento setup:upgradeFor code compile
php bin/magento setup:di:compileFor Reindex data in Magento 2
php -dmemory_limit=5G bin/magento indexer:reindexFor Static Content Deploy data in Magento 2
php -dmemory_limit=5G bin/magento setup:static-content:deploy -fFor Flush Cache in Magento 2
php -dmemory_limit=5G bin/magento cache:flushFor Clean Cache in Magento 2
php -dmemory_limit=5G bin/magento cache:cleanFor generate a new image cache
bin/magento catalog:image:resizeFor Files and Directory Permission
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find var pub/static pub/media generated/ app/etc -type f -exec chmod g+w {} \;
find var pub/static pub/media generated/ app/etc -type d -exec chmod g+ws {} \;
chown -R ubuntu:www-data .
chmod u+x bin/magento
chmod -R 777 .
No comments:
Post a Comment