To deploy local source files to a NetSuite SSP application:
- Go to your command line or terminal window.
- Access the SCA source directory that contains the package.json file.
- If implementing the 2020.1 release or later, this directory is the
SC_xxxdirectory within your root source directory. For example:SC_20.1 - If implementing 2019.2, this directory is the *_Live directory within your root source directory. For example: SC_19.2_Live/.
- If implementing 2019.1 or earlier, this directory is the top-level root directory.
- If implementing the 2020.1 release or later, this directory is the
- Enter the following command:
gulp deploy
If this is the first time you are runninggulp deployin this directory, this command creates one or more deploy distribution directories depending on your implementation. - When prompted, enter the following information.
Authentication ID
Account and Role
Choose your Hosting Files folder
Choose your Application Publisher
Choose your SSP Application
After entering your connection settings, the contents of the deploy distribution folders on your local system are uploaded to the NetSuite File Cabinet. This process may take a few minutes. Wait for the process to complete before proceeding.
Deploy the SSP Application to Your Site
After deploying your local customization source files to the SCA Development SSP as described in Deploy Local Source Files to an SSP Application in NetSuite, you can then deploy that SSP to your website to update the site with your customizations.
To deploy the Development SSP application to your site:
- Go to Commerce > Hosting > SSP Applications and then click View next to the SuiteCommerce Advanced – Dev <version> application.
- Click Link to Site.
- In the Site field, select the site you want to deploy to.
- Click Save.
After the SSP application has been deployed to your site, you can view the site by navigating to the domain defined for that site.