Install Additional Files in the Source Directory

This topic applies to

Applies to

SuiteCommerce Advanced

After downloading and extracting the SuiteCommerce Advanced source directory, you must perform several tasks within the top-level directory to finish installing the developer tools. These tasks are:

  • Run npm install to install addition Node.js files.

  • Run gulp to create additional directories required by the developer tools.

To install additional required files:

  1. Depending on your platform, open a command line or terminal window.

  2. Go to the top-level directory of the SuiteCommerce Advanced source files downloaded previously. This directory contains the Modules directory and is where additional files are created.

    Note

    Additional commands in subsequent steps are also performed within this directory.


  3. Install additional Node.js packkages using following command:

    npm install

    This command installs the dependencies required by the developer tools in the root directory of the SuiteCommerce Advanced source. These files are stored in the node_modules directory.

    Note

    This command may take several minutes to complete.


  4. Run Gulp.js using the following command:

    gulp

    Note

    If you encounter Sass Compilation Errors when running Gulp, you need to manually correct the compilation errors. For more information, see Troubleshooting the Developer Tools.


The first time you run this command, it creates a folder called LocalDistribution which contains the combined SuiteCommerce Advanced application. After this command completes successfully, you will see this folder at the top level of the SuiteCommerce Advanced source directory.

The files installed in this procedure are required by the build process. They are installed in the root directory of the SuiteCommerce Advanced source files. Each time you download a new version of the source files, you must perform these procedures in the new version of the SuiteCommerce Advanced source directory. Also, if you have multiple copies of this directory in your development or test environment, you must run these procedures on each copy.

Related Topics: