generator-hca
v4.0.0-dev.127
Published
EPAM Headless Commerce Accelerator for Sitecore Experience Commerce
Downloads
19
Maintainers
Readme
Headless Commerce Accelerator Scaffold
OVERVIEW
The Headless Commerce Accelerator scaffold is a generator based on Yeoman. It is designed to simplify and unify initial solution setup of Headless Commerce Accelerator. It can save you time on configuration on early stages of the project.
Sitecore Versions
- 9.3 Initial Release
FEATURES
- Generate a repository with a Headless Commerce Accelerator code with replaced solution name.
- Generate a partial layer solution: Foundation, Foundation & Feature, Foundation & Feature & Project
INSTALLATION
See readme of Headless Commerce Accelerator
Initial generation
- There are two possible ways to get generator:
- [npmjs.org]
npm i generator-hca
- [Manual]
- Clone repository or update to current version, if you have it already.
- In repository
%ROOT%\generators
run Powershell (as Administrator) commandnpm link
andgulp default
- [npmjs.org]
- Navigate to a location where you usually store your projects. Create a directory with a customer name (by default folder name would be used as a solution name. Do not include spaces or any special characters in it)
- Inside the folder run following PS command (again as Administrator) and follow instructions of the generator.
npm i yo -g
npm i generator-hca -g
yo hca
- Follow the generator instructions.
Re-generation
It is possible to run generation once again. Yeoman will detect conflicts and provide you with options to discard or override changes.
FEEDBACK
If you had some issues during installation, you have ideas or feedback, please, post them to GitHub issues section of this project