1.Install sample data modules
php bin/magento sampledata:deploy
2.Enable sample data modules (it's important!):
php 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
3.Remove old files:
rm -rf var/cache/* var/page_cache/* var/generation/*
4.Upgrade magento files:bin/magento setup:upgrade
5.Recompile files:bin/magento setup:di:compile
6.Do reindex:bin/magento indexer:reindex
7.Deploy static content:bin/magento setup:static-content:deploy
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。