Run your first predefined import jobs
Pacemaker provides predefined import jobs, which can be used out of the box.
Therefore there are sample import files (CSV) included in the installed composer
packages. By importing this sample files, you’ll import Magento’s sample data, like
they would be created by running the
You can simply copy all sample files into the import directory and Pacemaker would automatically initialize import pipelines (What is a pipeline?) for each import bunch (a bunch of CSV files). Execute the following command from the root directory of your Magento installation depending on which kind of import you want to execute.
The first sample data set includes all kinds of imports (attribute sets, attributes, categories, and products), which are bundled in multiple bunches.
cp -R vendor/techdivision/pacemaker-import-catalog/sample-data/bunch1/* var/pacemaker/import
Sample data for price and inventory import includes only one import file each. But it is also possible to split up these imports into multiple files and optionally cluster them into multiple bunches like it is done for the catalog import.
Use the following command for price import:
cp -R vendor/techdivision/pacemaker-import-price/sample-data/bunch1/* var/pacemaker/import
Use the following command for inventory (stock) import:
cp -R vendor/techdivision/pacemaker-import-inventory/sample-data/bunch1/* var/pacemaker/import
After copying the import files into the target directory you can observe the process by
Figure 1. Result output for