Setting up the HCL Commerce Developer Next.js Store environment
Refer to Downloading the HCL Commerce Next.js Store SDK for
instructions on how to download the Next.js Store SDK.
Procedure
- Obtain the Next.js Store SDK.
-
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 valuecore.longpaths=true
, you may encounter the following error when you run thegit clone
command:Unable to create file <filename>: Filename too long.
For example:git clone -c core.longpaths=true HCL_Commerce_NextJS_Store_9.1.13.0.bundle HCL_Commerce_NextJS_Store
For more information, see the README.md file contained in the project root directory.