Important

You are browsing the documentation for version 4.2 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Security Support ends in January 2024. Read version 5.0 (the latest LTS version) of the Oro documentation to get the updated information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Loading Demo Data

To load demo data during installation, run the oro:install command with the --sample-data=y option.

To load demo data after installation, run:

php bin/console oro:migration:data:load --fixtures-type=demo --env=prod

Tip

You can use the --dry-run option to first check which fixtures will be loaded:

php bin/console oro:migration:data:load --dry-run --fixtures-type=demo --env=prod

To load demo data fixtures from the specified package directories, run:

php bin/console oro:package:demo:load

Hint

See the oro:install command description for more information.