HCL Commerce Version 9.1.9.0 or later

Deploying Wishlist customization on production environment

Once the Wishlist functionality is enabled in the Developer Toolkit environment, you must deploy the Wishlist funtionality in the production environment as well. This document provides the steps to deploy the Wishlist customization in the production environment.

Before you begin

  1. Make sure that the Wishlist Tutorial is implemented on the developer Toolkit environment.
  2. Use NPM to build entire Store (with Wishlist) into the dist folder.
    Note: The Store SDK build process supports the building of multiple applications. When a production build is run, bundle files are sent as an output into the dist folder. For more details, refer to Building and deploying the store.

Procedure

  1. Build a custom store-web image in the dist folder.
    1. Go to the dist folder.
    2. Create a Dockerfile in the dist folder as shown in the following Docker file sample.
      FROM Docker_registry/commerce/store-web: source_image_tag
      COPY Emerald /SETUP/app/Emerald
      COPY Sapphire /SETUP/app/Sapphire
      
    3. Run the following Docker build with the appropriate tag name to build a custom Docker image for the store-web.
      docker build -t store-web:tag .
  2. Deploy an environment with the custom store-web image built in step 1. For more information, refer to Deploying the React Store application.
  3. Validate the Wishlist customization in the production environment.