Installing SAP Commerce Cloud Using Installer Recipes

To automate your installation of SAP Commerce Cloud for development and demonstration purposes, you can use an installer recipe. Recipes are gradle scripts that take care of creating directories, moving files, updating configuration and properties files, and initializing the system.

With the installer, you can easily install the SAP Commerce Cloud setup you need with the desired applications, such as B2C Accelerator. You do this using a pre-defined installer recipe. Each installer recipe includes SAP Commerce Cloud Platform and all the required modules for the specific application. The installer replaces the manual procedure for configuring and setting up SAP Commerce Cloud.

Prerequisites

Prior to installing SAP Commerce Cloud, make sure that your system meets the pre-installation requirements. For more information, see System Requirements.

To review the available recipes and understand which components are included in each one, see Installer Recipes.

Installer Script Options

The following table lists the available options when running the installer script:
Option Description Example
-d Sets the Gradle log level to debug. ./install.sh -d <recipe>
-h Prints help to screen. ./install.sh -h <recipe>
-i Runs the specified task for the specified recipe type. ./install.sh -i <recipe>
-l Lists all available recipes. ./install.sh -l <recipe>
-P

Sets the platform home to the specified directory.

./install.sh -r <recipe> -P /users/carsten/commercesuite/hybris/bin/platform
-A Sets a specified configuration parameter. Use this to set the initial administrator password.

./install.sh -r <recipe> -A initAdminPassword=<yourpass>

./install.sh -r <recipe> initialize -A initAdminPassword=<yourpass>

-r

Runs the default setup task for the specified recipe.

./install.sh -r <recipe>
-r <recipe> initialize Initializes SAP Commerce Cloud for the specified recipe. ./install.sh -r <recipe> initialize
-r <recipe> start Starts the SAP Commerce Cloud Server. ./install.sh -r <recipe> start
-s

Prints out the stack trace for all exceptions.

./install.sh -s <recipe>
-t Lists all the tasks available for the specified recipe. ./install.sh -t <recipe>