Contents of the Deploy and Local Distribution Directories

This topic applies to

Applies to

SuiteCommerce Advanced

 

  • gulp deploy: creates one or more deploy distribution directories depending on your implementation.

    • If you are implementing SCA 2019.2 or later, this command creates the DeployDistributionAdvanced and DeployDistributionAdvancedSS2 directories. The DeployDistributionAdvanced directory contains the combined source files that are deployed to NetSuite. The DeployDistributionAdvancedSS2 directory contains the SuiteScript 2.0 services for deployment.

    • If you are implementing SCA 2019.1 or earlier, this command creates the DeployDistribution directory. This directory contains the combined source files that are deployed to NetSuite.

  • gulp local: creates a local distribution directory.

    • If you are implementing SCA 2019.2 or later, this command creates the LocalDistibutionAdvanced directory. This directory contains files that are used by the local server.

    • If you are implementing SCA 2019.1 or earlier, this command creates the LocalDistribution directory. This directory contains files that are used by the local server.

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

Both the deploy and local distribution directories contain the following subdirectories and files:

  • 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: