Parameters to publish a Reference React store

You can use the values in the examples provided to publish the Reference React Emerald B2C store and the Reference React Sapphire B2B store.

Example of the gradle.properties file for publishing the Emerald B2C reference Store

When you publish the Emerald B2C reference store, the WCDE_installdir/storepublish/generateData/generateData/Emerald​Data directory in created.

#you can customize your sample data, and must put it in WCDE_V9\starterstores
#DataTemplate.zip is for OOTB sample store
dataTemplate=EmeraldDataTemplate.zip

#crs properties that are used when running addStore command
#ESite store name: This is the name of the store that shoppers will shop at, it is mandatory. 

crsCreateESiteStore=yes
crsESiteStoreIdentifier=Emerald
#Store esite Store identifier name
crsESiteStoreDirName=Emerald
#crsOrganizationDN
crsESiteStoreOrganizationDN=ou=emerald,o=extended sites seller organization,o=root organization

#Whether you want to generate data file(xml/csv) of store front asset store. Set it to no when you only want
#to publish a esite store base on an existing store front asset store.
crsCreateStoreFrontAssetStore=yes
#Store Front Asset Store identifier name
#AuroraStorefrontAssetStore
crsFrontAssetStoreIdentifier=Emerald SAS
#Store Front Asset Store directory name
#AuroraStorefrontAssetStore
crsFrontAssetStoreDirName=EmeraldSAS
#crsSASOrganizationDN
crsStorefrontAssetStoreOrganizationDN=ou=emeraldsas,o=extended sites organization,o=root organization

#Whether you want to generate data file(xml/csv) of a new catalog asset store. Set it to no when you only want
#to publish a store base on an existing catalog asset store.
crsCreateCatalogAssetStore=yes
#Catalog Asset Store identifier name
#Extended Sites Catalog Asset Store
crsCatalogStoreIdentifier=Emerald CAS
#Catalog Asset Store directory name
#ExtendedSitesCatalogAssetStore
crsCatalogStoreDirName=EmeraldCAS
#crsCatalogStoreOrganizationDN
crsCatalogAssetStoreOrganizationDN=ou=emeraldcas,o=extended sites organization,o=root organization

#Generate Sample data
crsGenerateSampleData=yes

#Bypass JSP copying in crs-web
crsStoreServerAssets=no

#Locale
crsStoreLocale=en_US
#Set Inventory model Non-ATP|ATP|DOMInv|ExtInv|NoInv|
crsInventoryModel=Non-ATP
#Store type, b2c|b2b, default is b2c if not set
crsStoreType=b2c

#Database type, DB2|Oracle, default is DB2 if not set or set unrecognized value.
DBType=DB2

Example of the gradle.properties file for publishing the Sapphire B2B reference store

When you publish the Sapphire B2B reference store, the WCDE_installdir/storepublish/generateData/generateData/Sapphire​Data directory in created.

#you can customize your sample data, and must put it in WCDE_V9\starterstores
#DataTemplate.zip is for OOTB sample store
dataTemplate=EmeraldDataTemplate.zip

#crs properties that are used when running addStore command
#ESite store name: This is the name of the store that shoppers will shop at, it is mandatory. 

crsCreateESiteStore=yes
crsESiteStoreIdentifier=Sapphire
#Store esite Store identifier name
crsESiteStoreDirName=Sapphire
#crsOrganizationDN
crsESiteStoreOrganizationDN=ou=sapphire,o=extended sites seller organization,o=root organization

#Whether you want to generate data file(xml/csv) of store front asset store. Set it to no when you only want
#to publish a esite store base on an existing store front asset store.
crsCreateStoreFrontAssetStore=yes
#Store Front Asset Store identifier name
#AuroraStorefrontAssetStore
crsFrontAssetStoreIdentifier=Sapphire SAS
#Store Front Asset Store directory name
#AuroraStorefrontAssetStore
crsFrontAssetStoreDirName=SapphireSAS
#crsSASOrganizationDN
crsStorefrontAssetStoreOrganizationDN=ou=sapphiresas,o=extended sites organization,o=root organization

#Whether you want to generate data file(xml/csv) of a new catalog asset store. Set it to no when you only want
#to publish a store base on an existing catalog asset store.
crsCreateCatalogAssetStore=no
#Catalog Asset Store identifier name
#Extended Sites Catalog Asset Store
crsCatalogStoreIdentifier=Extended Sites Catalog Asset Store
#Catalog Asset Store directory name
#ExtendedSitesCatalogAssetStore
crsCatalogStoreDirName=ExtendedSitesCatalogAssetStore
#crsCatalogStoreOrganizationDN
crsCatalogAssetStoreOrganizationDN=ou=extendedsitescatalogassetstore,o=extended sites organization,o=root organization

#Generate Sample data
crsGenerateSampleData=no

#Bypass JSP copying in crs-web
crsStoreServerAssets=no

#Locale
crsStoreLocale=en_US
#Set Inventory model Non-ATP|ATP|DOMInv|ExtInv|NoInv|
crsInventoryModel=Non-ATP
#Store type, b2c|b2b, default is b2c if not set
crsStoreType=b2b

#Database type, DB2|Oracle, default is DB2 if not set or set unrecognized value.
DBType=DB2