Skip to content

Commit

Permalink
[docs] Add magento setup:upgrade after sampledata [skip ci][ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Jul 14, 2021
1 parent b7e1cd5 commit 23f2666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/users/cli-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ bin/magento cache:flush

Of course, change the admin name and related information is needed. The project name here is derived from the directory name (ddev-magento2 in this example). Your project name (and thus the `setup:store-config:set --base-url`) will almost certainly be different.

You may want to add the [Magento 2 Sample Data](https://devdocs.magento.com/guides/v2.4/install-gde/install/sample-data-after-composer.html) with `bin/magento sampledata:deploy` (inside the web container).
You may want to add the [Magento 2 Sample Data](https://devdocs.magento.com/guides/v2.4/install-gde/install/sample-data-after-composer.html) with `bin/magento sampledata:deploy && bin/magento setup:upgrade` (inside the web container).

Note that Magento 2 is a huge codebase and using `nfs_mount_enabled: true` is recommended for performance on macOS and Windows, see [docs](performance/#using-nfs-to-mount-the-project-into-the-container).

Expand Down

0 comments on commit 23f2666

Please sign in to comment.