Using the Installer Recipes

Easily install and set up an SAP Commerce Cloud instance that is tailored for your needs with a dedicated installer recipe.

Prerequisites

Before you begin, do the following:

  • Install the correct Java SDK, and then download and unzip SAP Commerce Cloud as described in Before You Start.

Context

Procedure

  1. Open a command line and go to the installer directory of your SAP Commerce Cloud instance.
  2. Build the SAP Commerce Cloud setup you need using the appropriate recipe by entering the following command:
    • On Windows: install.bat -r <recipe_name> -A local_property:initialpassword.admin=property_value
    • On Linux or Mac: ./install.sh -r <recipe_name> -A local_property:initialpassword.admin=property_value
    For example, to build SAP Commerce Cloud with B2C Accelerator, enter the following command:
    • On Windows:
      install.bat -r cx -A local_property:initialpassword.admin=your_password
    • On Linux or Mac:
      ./install.sh -r cx -A local_property:initialpassword.admin=your_password

    For a complete list of available installer recipes, see Installer Recipes.

  3. Initialize SAP Commerce Cloud by entering the following command:
    • On Windows: install.bat -r <recipe_name> initialize -A local_property:initialpassword.admin=property_value
    • On Linux or Mac: ./install.sh -r <recipe_name> initialize -A local_property:initialpassword.admin=property_value
    For example, to initialize SAP Commerce Cloud with B2C Accelerator, enter the following:
    • On Windows:
      install.bat -r cx initialize  -A local_property:initialpassword.admin=your_password
    • On Linux or Mac:
      ./install.sh -r cx initialize  -A local_property:initialpassword.admin=your_password
  4. Start SAP Commerce Cloud by entering the following command:
    • On Windows: install.bat -r <recipe_name> start
    • On Linux or Mac: ./install.sh -r <recipe_name> start
    For example, to start SAP Commerce Cloud with B2C Accelerator, enter the following:
    • On Windows:
      install.bat -r cx start
    • On Linux or Mac:
      ./install.sh -r cx start
    After successful startup, your SAP Commerce Cloud instance is installed and ready for you to use.

Next Steps

If you are using the b2b_acc_plus recipe, or if your installation includes the B2B AddOns for PunchOut, Secure Portal, or Account Summary, then update the system after starting SAP Commerce Cloud. To do so, log on to the SAP Commerce Cloud Administration Console, select Start of the navigation pathPlatform Next navigation step UpdateEnd of the navigation path, select Toggle all under the Project data settings section of the Update page, and then click Update.

If you are using SmartEdit, you should configure oAuthClient to authorize using SmartEdit. For more information, see Configuring oAuthClient.