The SuiteCommerce Advanced Source Directory

This topic applies to

Applies to

SuiteCommerce Advanced

You can download the SuiteCommerce Advanced source files directly from the File Cabinet in NetSuite. These files are contained in the top-level directory. The following table describes each of the files and folders contained in this directory:

File / Folder

Description

LocalDistribution

Created when you run the gulp local command. This directory contains all of the files associated with the compiled application used by the local server.

When you run this command Gulp.js outputs the compiled application files to this directory. After compilation, the contents of this directory are deployed to the local Node.js server.

See Contents of the DeployDistribution and LocalDistribution Directories for information on the contents of this directory.

Important

Do not manually edit the files in this directory. It is created and updated when you run the gulp command.


DeployDistribution

Contains all of the files associated with the compiled application. This file is created when you run the gulp deploy command.

When you run the command the compiled application files are output to this directory. After compilation, the contents of this directory are deployed to your NetSuite account.

Contents of the DeployDistribution and LocalDistribution Directories

Important

Do not manually edit the files in this directory. It is created and updated when you run the gulp command.


gulp

Contains all of the files required by Gulp.js. This file is created when Gulp.js is installed. You should not edit the files within this directory.

Modules

Contains source code for all of the SuiteCommerce Advanced modules.

node_modules

Stores the dependencies and other files required by Node.js. This directory is created when running the npm install command.

.nsdeploy

Defines how Gulp.js connects to your NetSuite account during deployment. This file is created the first time you run the gulp deploy command.

distro.json

Lists all of the modules used by the SuiteCommerce Advanced application. It also specifies the name and version number of the distribution.

gulpfile.js

Contains all the JavaScript code for Gulp.js. You should only edit this file if you need to add a new task to Gulp.js .