Deploy and Local Distribution Directories in SuiteCommerce

Deploy and local distribution directories in SuiteCommerce manage file organization for deployments and local server setups effectively.

·2 min read·1 views·View Oracle Docs

The deploy and local distribution directories are crucial components in the SuiteCommerce Advanced (SCA) development process. They are automatically generated when using Gulp commands, which streamline file organization for deployments and local server configurations.

What Are the Directories Created?

Deploy Distribution Directories

  • gulp deploy: This command creates deployment directories based on the version of SCA you are implementing.
    • For SCA 2019.2 and later, two directories are created:
      • DeployDistributionAdvanced: Contains combined source files for deployment to NetSuite.
      • DeployDistributionAdvancedSS2: Houses SuiteScript 2.0 services intended for deployment.
    • For SCA 2019.1 and earlier, only one directory is created:
      • DeployDistribution: Contains the source files for deployment.

Local Distribution Directories

  • gulp local: This command generates a local distribution directory used by the local server.
    • For SCA 2019.2 and later:
      • LocalDistributionAdvanced: Contains files required by the local server.
    • For SCA 2019.1 and earlier:
      • LocalDistribution: Contains the server requirement files.

Best Practices

  • Do Not Edit Directly: It is recommended not to directly modify files within these deployment or local directories. These files are primarily for deployment and server operation purposes. However, reviewing these files can be vital when troubleshooting issues.

Who This Affects

  • Developers: Those implementing or customizing SuiteCommerce Advanced.
  • Administrators: Users managing deployments and local distributions.

Key Takeaways

  • The deploy and local distribution directories are automatically generated through Gulp commands.
  • Different directories are created based on the SCA version in use.
  • Direct editing of files in these directories is discouraged, although they can be referenced for troubleshooting purposes.

Source: This article is based on Oracle's official NetSuite documentation.

Frequently Asked Questions (4)

What Gulp commands are required to generate deploy and local distribution directories in SuiteCommerce?
The 'gulp deploy' command generates deployment directories, while the 'gulp local' command generates a local distribution directory.
Are there differences in the directories created by 'gulp deploy' for different SCA versions?
Yes, for SCA 2019.2 and later, two directories (DeployDistributionAdvanced and DeployDistributionAdvancedSS2) are created. For SCA 2019.1 and earlier, only the DeployDistribution directory is created.
Is it recommended to edit files within the deploy and local distribution directories?
No, it is not recommended to directly modify files in these directories as they are essential for deployment and server operations. However, they can be consulted for troubleshooting.
What is the purpose of the LocalDistributionAdvanced directory in SuiteCommerce?
In SCA 2019.2 and later, the LocalDistributionAdvanced directory contains files required by the local server for operation during development.
Source: Contents of the Deploy and Local Distribution Directories Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in SuiteCloud Development Framework

View all SuiteCloud Development Framework articles →