Skip to content

Instantly share code, notes, and snippets.

@rakshazi
Created August 26, 2016 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rakshazi/1c7c60b28fe3b18e0473e6a9ce39d2e9 to your computer and use it in GitHub Desktop.
Save rakshazi/1c7c60b28fe3b18e0473e6a9ce39d2e9 to your computer and use it in GitHub Desktop.
Install Magento 2 sample data.
bin/magento sampledata:install
bin/magento sampledata:deploy
bin/magento module:enable Magento_CustomerSampleData Magento_MsrpSampleData Magento_CatalogSampleData Magento_DownloadableSampleData Magento_OfflineShippingSampleData Magento_BundleSampleData Magento_ConfigurableSampleData Magento_ThemeSampleData Magento_ProductLinksSampleData Magento_ReviewSampleData Magento_CatalogRuleSampleData Magento_SwatchesSampleData Magento_GroupedProductSampleData Magento_TaxSampleData Magento_CmsSampleData Magento_SalesRuleSampleData Magento_SalesSampleData Magento_WidgetSampleData Magento_WishlistSampleData
rm -rf var/cache/* var/page_cache/* var/generation/*
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento indexer:reindex
bin/magento setup:static-content:deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment