Installing SAP Commerce Cloud [Hybris] using Installer Recipe

In this article I am demonstrating, how to install SAP Commerce[Hybris] using installer recipe. After successful installation we can verify Hybris provided Out of The Box eCommerce sites like Electronics, Apparel UK and Powertools.

Here, I am using SAP Commerce Cloud latest version 2211.

Step1: Download SAP Commerce[Hybris] suite from SAP Portal and extract in a folder as shown below:



Step2: Install SAP Commerce using installer recipe [cx]:
Before installing recipe, we can see only bin folder under hybris as show below:
Now go to the installer path and install using cx recipe:
Syntax: installer.bat -r recipe_name local_property:initialpassword.admin=PASSWORD
              install.bat -r cx -A local_property:initialpassword.admin=nimda

Note: This recipe command will add required extensions to the localextensions.xml file based on the recipe name & now we can see other folders in hybris folder:
We can also see localextensions.xml file generated under config folder by adding set of required extensions:
<hybrisconfig xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'...xsd'>
  <extensions>
    <path dir='${HYBRIS_BIN_DIR}' autoload='false' />
    <extension name='yb2bacceleratorstorefront' />
    <extension name='adaptivesearch' />
    ….
  </extensions>
</hybrisconfig>

Step3: Initialize SAP Commerce by entering the below command:
           Syntax: install.bat -r cx initialize -A local_property:initialpassword.admin=nimda


Step4: Start SAP Commerce by entering the below command:

             Syntax: install.bat -r cx start

Note: We can also start SAP Commerce from platform folder.


Step6: Add below entries in the hosts file from below path:

C:\Windows\System32\drivers\etc

                    127.0.0.1   apparel.local
                    127.0.0.1   electronics.local
                    127.0.0.1   powertools.local

Step7: Access Out of the box sites provided by SAP Commerce:
  1. Electronics site
          http://electronics.local:9001/yacceleratorstorefront/?site=electronics

    2. Apparel UK Site
        http://apparel.local:9001/yacceleratorstorefront/?site=apparel-uk


    3. Power tools Site [B2B]
        http://powertools.local:9001/yb2bacceleratorstorefront/?site=powertools



In the next article, I will demonstrate how to create our own extensions & customize our eCommerce web site using modulegen concept.

Keep learning!!!☺☺☺






Comments

Post a Comment

Popular posts from this blog

Type System in SAP Commerce [Hybris]

Differences between Extension and AddOn in SAP Hybris

items.xml in SAP Commerce [Hybris]