The installation instructions corresponds to the windows operating system. If you are
using a different operating system, ensure that you download the appropriate binaries, modify
commands, and directory paths.
Important: For an AngularJS store, ensure that you set up minification to load your
customizations in the production environment.
For more information about the minification process, see General note on extensibility.
Procedure
-
Download
Node.js v6.11.2
compressed file from Node.js or Rational Asset
Manager, which is recommended.
-
Extract the contents of the compressed file to a folder.
For example,
C:\NodeJS
.
-
Update the following environment variables:
For Linux, update the Bash profile, PATH, or other variables as needed.
-
Install gulp by completing the following steps:
- Open the command prompt with administrator privileges.
- Browse to the directory where
Node.js
is installed.
- Run the following command:
npm install -g gulp@v3.9.0
-
Create a
<STORE_BUILD_FOLDER>
folder. For example,
C:\StoreBuild
.
-
Copy the gulp files from
<RUNTIME>/nodebuild/wsc/
to
<STORE_BUILD_FOLDER>
.
Important: Do not modify the contents of <RUNTIME>/nodebuild/wsc/
directory.
-
Open the command prompt and browse to the
<STORE_BUILD_FOLDER>
folder by
typing cd <STORE_BUILD_FOLDER>
.
-
Run the
- npm update
command. All the node.js
related
packages that enable minification are installed.