Important
You are browsing the documentation for version 4.2 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date 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.