Setting up the UI middleware
You must set up the UI middleware to develop the application, if not already available.
Currently, all the middleware required for the Sterling Store Engagement development are included only for the Linux environment.
- If you are developing on Linux environment, add NodeJS, Yarn, and Angular CLI to the path
variable by running the following
command:
where,export PATH=$PATH:runtime/nodejs/bin: runtime/nodejs_angularbuild/yarn/node_modules/yarn/bin: runtime/nodejs_angularbuild/node_modules/@angular/cli/bin
runtime
is the Sterling Store Engagement runtime location. - If you are developing on a non-Linux environment, install the following versions of the required middleware:
- NodeJS version 12.20.0
- Yarn version 1.22.0
- Angular CLI 11.0.5