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.