Skip to content

Instantly share code, notes, and snippets.

@lmeyer
Last active July 22, 2017 10:40
Show Gist options
  • Save lmeyer/7150d15a9da40fd68b0a07c4c02cdd9b to your computer and use it in GitHub Desktop.
Save lmeyer/7150d15a9da40fd68b0a07c4c02cdd9b to your computer and use it in GitHub Desktop.
Magento 2 commands
php bin/magento module:status
php bin/magento module:enable Hdco_CatalogSearch
php bin/magento setup:upgrade
php bin/magento setup:di:compile
find pub/static -name js-translation.json -exec rm -rf {} \;
php bin/magento setup:static-content:deploy en_US fr_FR
php bin/magento cache:clean
php bin/magento indexer:reindex
php bin/magento deploy:mode:show
php bin/magento deploy:mode:set production
php bin/magento deploy:mode:set developer
php bin/magento import:job:run 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment