Administer > Deploy > Publish a store archive > Publishing a store archive using the publishstore utility


Publish storefront assets and store configuration files by copying to the WebSphere Commerce Server

In order to publish the storefront assets by copying them directly to the WebSphere Commerce Server, the Web assets (HTML, JSP files, images, and graphics) must be copied to the Stores Web application document root. The resource bundles or properties files must be copied to the application's properties path. The store configuration files must be copied to the appropriate locations under the stores or tools Web modules.

When you extract the starter store archives into the Stores Web module, (retaining the path structure) the file assets will be placed in the correct location. However, the properties files used by the Change Flow notebook (StoreDirectory/devtools/flow/ui/*.properties) must be copied to the ToolsStoresPropertiesPath defined in the WebSphere Commerce configuration file.


Procedure

  1. Copy the JSP files, HTML, include files, images, and graphics to the store directory (storedir) in the Stores Web application document root:

  2. Copy the resource bundles and properties files to the application properties path:

    • WC_EAR/Stores.war/WEB-INF/classes/storedir

  3. Copy the store configuration files to the locations defined in the WebSphere Commerce Configuration File

    The store configuration files are copied to the following locations:

    • The store configuration XML files (WEB-INF/xml/tools/stores/storedir/devtools/flow/*) are copied to the ToolsStoresXMLPath.

    • The store configuration properties files are copied to the ToolsStoresPropertiesPath.

  4. If the store is based on a WebSphere Commerce starter store, add the value located in the STORE_ID column of the STORE database table to the storeId parameter in the parameters.jsp file...

    To view the store in a browser, launch the following URL: http://host name/webapp/wcs/stores/servlet/storedir/index.jsp.


+

Search Tips   |   Advanced Search