You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ Installing sample data is optional.
5
5
Technically, sample data is a set of regular Magento modules, which can be deployed and installed together with the Magento instance, or later in the scope of upgrade.
6
6
7
7
## Deploy Sample Data
8
+
8
9
You can deploy sample data from one of the following sources:
9
10
10
11
* From the Magento composer repository, optionally using Magento CLI
@@ -49,9 +50,11 @@ To deploy sample data from the GitHub repository:
49
50
2. Link the sample data and your Magento instance by running: `# php -f <sample-data_clone_dir>/dev/tools/build-sample-data.php -- --ce-source="<path_to_your_magento_instance>"`
50
51
51
52
## Install Sample Data
53
+
52
54
Once the sample data is deployed, it will be installed automatically when you install or upgrade your Magento instance by using the command line.
53
55
54
56
## Uninstall Sample Data
57
+
55
58
To remove the sample data modules from the code base, run one of the following commands from the Magento root directory:
56
59
57
60
* If sample data was deployed from the composer repository, run: `# bin/magento sampledata:remove`
@@ -61,6 +64,7 @@ To remove the sample data modules from the code base, run one of the following c
61
64
To delete all the products and other entities provided by the sample data modules, delete the database and reinstall Magento with a clean database.
62
65
63
66
## Reinstall Sample Data
67
+
64
68
If you have deleted certain entities provided by sample data and want to restore them, take the following steps:
65
69
66
70
1. From the Magento root directory, run the following command: `# bin/magento sampledata:reset`
@@ -69,4 +73,5 @@ If you have deleted certain entities provided by sample data and want to restore
69
73
The deleted sample data entities will be restored. Those entities, which were changed, will preserve these changes and will not be restored to the default view.
70
74
71
75
## Documentation
72
-
You can find the more detailed description of sample data manipulation procedures at [http://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-sample-data.html](http://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-sample-data.html)
76
+
77
+
You can find the more detailed description of sample data manipulation procedures at [Sample data overview](https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/next-steps/sample-data/overview.html).
0 commit comments