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.
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 Platform
- Edit Extension Manifest for SuiteScript in NetSuite 2023.2
Learn how to manually edit the extension manifest.json file in NetSuite SuiteScript and safeguard your changes.
- RecordType Property for SuiteQL Metadata Retrieval in NetSuite
RecordType property retrieves metadata for SuiteQL queries. Essential for fetching valid fields and relationships.
- Configuring Sass in NetSuite Extensions: Complete Guide
This guide covers how to configure Sass in NetSuite extension's manifest.json file and ensure proper deployment. Manual Edits
- FieldLabel Object Members for Document Processing in SuiteScript
FieldLabel Object enhances document processing with confidence and name properties in SuiteScript 2.1.
Advertising
Reach Platform Professionals
Put your product in front of NetSuite experts who work with Platform every day.
Sponsor This Category