Contents of the DeployDistribution and LocalDistribution Directories

This topic applies to

Applies to

SuiteCommerce Advanced

  • gulp deploy: creates a directory called DeployDistribution. This directory contains the combined source files that are deployed to NetSuite.

  • gulp local: creates a directory called LocalDistribution. This directory contains files that are used by the local server.

The files contains in the output directories are automatically generated. You should not directly edit any of the files in the DeployDistribution or LocalDistribution directories. However, you may need to view the contents of these directories when troubleshooting.

Both the DeployDistribution and LocalDistribution contain the following subdirectories and file:

  • css : contains the CSS style sheets for each application. The gulp tasks generate these files by combining all of the Sass files of the application modules.

  • css_ie: contains the CSS style sheets for each application that are specific to Internet Explorer.

  • font-awesome: contains a font that SuiteCommerce Advanced uses to display application icons.

  • img : contains the images used by the application. These includes all images used in menus, headers, etc. It does not include, for example, images return by the Item Search API.

  • javascript: contains the combined and condensed JavaScript code for each application. This code is combined from all of the JavaScript code defined in the modules

  • javascript-dependencies : contains compiled JavaScript files containing the dependencies for each application.

  • languages: contains localized versions of each application

  • services: contains all of the SuiteScript services used in SuiteCommerce advanced. Files are copied from the SuiteScript directory of each module to this directory.

  • cart.ssp: contains the SSP application for the user cart. The gulp tasks copy this from the SuiteScript directory of the CheckoutApplication application module.

  • checkout-local.ssp : contains the local SSP application for the Checkout application. The gulp tasks generate this file automatically. The local server uses this SSP application. See SCA on a Local Server for more information.

  • checkout-environment.ssp : contains an SSP application that defines the environment properties for the Checkout application. The gulp tasks copy this from the SuiteScript directory of the CheckoutApplication application module.

  • download.ssp : contains an SSP application used by the My Account application. The gulp tasks copy this file from the SuiteScript directory of the MyAccountApplication application module.

  • goToCart.ssp : contains an SSP application used by the Shopping application. The gulp tasks copy this file from the SuiteScript directory of the ShoppingApplication application module.

  • logOut.ssp : contains an SSP application used by the Shopping application. The gulp tasks copy this file from the SuiteScript directory of the ShoppingApplication application module.

  • my_account.ssp : contains the SSP application for the My Account application. The gulp tasks copy this file from the SuiteScript directory of the MyAccountApplication application module.

  • my_account-local.ssp : contains the local SSP application for the My Account application. The gulp tasks generate this file automatically. The local server uses this SSP application. See SCA on a Local Server for more information.

  • myaccount.environment.ssp : contains an SSP application that defines the environment properties for the My Account application. The gulp tasks copy this from the SuiteScript directory of the MyAccountApplication application module.

  • print-statement.ssp : contains an SSP application used by the My Account application. The gulp tasks copy this file from the SuiteScript directory of the MyAccountApplication application module.

  • shopping.environment.ssp : contains an SSP application that defines the environment properties for the Shopping application. The gulp tasks copy this from the SuiteScript directory of the ShoppingApplication application module.

  • shopping.ssp : contains the SSP application for the Shopping application. The gulp tasks copy this file from the SuiteScript directory of the ShoppingApplication application module.

  • shopping.user.environment.ssp : contains an SSP application that defines the user-specific environment properties for the Shopping application. The gulp tasks copy this from the SuiteScript directory of the ShoppingApplication application module.

  • shopping-local.ssp: contains the local SSP application for the Shopping application. The gulp tasks generate this file automatically. The local server uses this SSP application. See SCA on a Local Server for more information.

  • ssp_libraries.js : contains combined and condensed SSP library containing all of the backend modules used by SuiteCommerce Advanced. For more information, see The ssp_libraries.js File.

  • version : contains the time stamp when the gulp task was run.

Related Topics: