Install the Reference Template
To access the new features and enhancements delivered in the 202603.1.0 release, use the latest SDK packages and reference templates from the GitHub release registries:
- https://github.com/congarevenuecloud/e-commerce/releases: Search and select the 202603.1.0 release.
- https://github.com/orgs/congarevenuecloud/packages: Use the 202603.1.7 package of core, ecommerce, and elements.
Prerequisites
You must have a GitHub account and a valid GitHub authentication token to install the packages from the repository.
After cloning the reference template, you must update the npmrc file in the
reference template with the SDK library hosted URL as below. Enter your GitHub
authentication token at line 2 after authToken =
In case you face issues installing the SDK, you may need to authenticate using your GitHub token.
@congarevenuecloud:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=
Install npm
After updating the npmrc file, run
npm install
from the root of your project’s resources folder. This command installs third-party libraries, including the congarevenuecloud/e-commerce library listed in the package.json file, which contains all the components and data access layers. Once done, the SDK and its dependencies will be ready to use.
You can verify that the dependencies are installed by looking at the node modules folder and in that folder congrevenuecloud > SDK library folders (i.e. core, ecommerce, elements etc.) are created in the resources folder.
