Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Populating the Database

Populating the Database

Configure Data Sets

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 sets.
  • ep-mobee-demo-data - test and demo data for Cortex stores.
  • ep-sample-data - test data with descriptive object names.
  • demo-snapitup-data - legacy data used for performance testing.
Tip: 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 you don't want to be loaded.

Populate the Database

To populate your local development database for the first time:
  1. On the command line, navigate to the extensions/database module.
  2. Run the following command:
    mvn clean install -Preset-db

For more information, see Populating the Database in the Data Population documentation.