Create a deployment package containing your local store using the WCB tool
In this lesson, you create the deployment package containing your local store
using the WCB tool. This package can then be used to create custom Docker images for use in a live
production environment. For more information on packaging customized code for
deployment, see Packaging customized code for deployment.
Before you begin
- Create a backup of the WC_installdir/WCBD/ directory within your HCL Commerce development environment.
- Ensure that you
use the forward slash (
/
) character as the file separator. - If your customizations depends on any third-party libraries, ensure that they are included in WAS_HOME/lib/ directory.
Note: This task uses the following conventions:
- Application specific scripts or property files are distinguished by application type. In the
following steps, apptype stands for the application type that is currently being
built. Accepted values can be
ts
,crs
,search
,xc
, ordata
. Because we are building the local store package into the Transaction server, the apptype for this tutorial task ists
. - In the following steps, scm refers to the method by which the source code is
extracted. The scm can be
local
, or any supported source code management type. Accepted values can becvs
,svn
, orgit
. For the purposes of this tutorial task, we assume all of your source code is available on the local file system, so scm islocal
.
Procedure
- Configure your build environment.
- Configure the WCB tool to extract your Transaction server local store and
other customization source files.
- Configure the WCB tool to build and package your Transaction server local
store and customizations.
- Run the WCB tool to build your deployment package containing your local store.
Results
V9
build label, can be located at
WCB_installdir/dist/server/wcbd-deploy-server-local-ts-V9.zip.What to do next
To continue with the tutorial, proceed to Create custom ts-app and ts-web Docker images.