Setting up the Commerce+ Developer Ruby storefront environment

This topic describes how to clone the git bundles for the Ruby storefront and set up your own developer instance.

Refer to Downloading HCL Commerce+ software for instructions on how to download the Ruby storefront SDK.

Procedure

  1. Obtain the Ruby storefront SDK.
  2. Clone the project in Git from the Git bundle.
    Run the following command:
    git clone -c core.longpaths=true bundleName projectName
    Where:
    bundleName
    The filename of the bundle you are cloning.
    projectName
    The name of the git project that you are creating.
    Note: On the windows platform, if you do not specify the configuration name and value core.longpaths=true, you may encounter the following error when you run the git clone command: Unable to create file <filename>: Filename too long.
    For example:
    git clone -c core.longpaths=true HCL_Commerce_NextJS_Store_<version>bundle HCL_Commerce_NextJS_Store 

    For more information, see the README.md file contained in the project root directory.

Results

The Ruby storefront SDK is installed and configured.

What to do next

Ensure you add the code into your source control management system so that your work can be collaborated on and safely persisted.