Deploy and Local Distribution Directories in SuiteCommerce
Deploy and local distribution directories in SuiteCommerce manage file organization for deployments and local server setups effectively.
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.
- For SCA 2019.2 and later, two directories are created:
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.
- For SCA 2019.2 and later:
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?
Are there differences in the directories created by 'gulp deploy' for different SCA versions?
Is it recommended to edit files within the deploy and local distribution directories?
What is the purpose of the LocalDistributionAdvanced directory in SuiteCommerce?
Was this article helpful?
More in SuiteCloud Development Framework
- SuiteCloud Developer Assistant: AI Coding Support in
SuiteCloud Developer Assistant enhances NetSuite development with AI-powered coding features, offering real-time assistance and SuiteScript generation.
- SuiteCloud CLI for Node.js: New Features Overview
Explore the new features of SuiteCloud CLI for Node.js, enhancing SuiteCloud project development with interactive tools.
- SuiteCloud Developer Assistant Feature for Visual Studio
Discover the new SuiteCloud Developer Assistant integrated with Visual Studio Code for enhanced SuiteCloud project development.
- SuiteCloud Development Framework in NetSuite 2026.1
SuiteCloud Development Framework features in NetSuite 2026.1 enhance customization, deployment, and management for developers.
Advertising
Reach SuiteCloud Development Framework Professionals
Put your product in front of NetSuite experts who work with SuiteCloud Development Framework every day.
Sponsor This Category