Populating Database
Data Set Configuration
The following Elastic Path test and demo data sets are included in the commerce-data
module:
ep-shared-demo-data
- shared data used by all data setsep-mobee-demo-data
- test and demo data for Cortex storesep-sample-data
- test data with descriptive object namesdemo-snapitup-data
- legacy data used for performance testing
Configuring Test Data
To change the data sets that are loaded in your local development environment, update the liquibase-context
property in the environments/local/data-population.properties
file in the extensions/database/ext-data
module. Remove data sets that need not to be loaded.
Populate the Database
To populate your local development database for the first time:
On the command line, navigate to the
extensions/database
module.Run the following command:
mvn clean install -Preset-db
For more information, see Database Population in the Data Population documentation.