Skip to content

jorgehernandezSF/create-commerce-app

 
 

Repository files navigation

create-commerce-app

A Salesforce Commerce application generator that allows you to generate a sample commerce storefront application.

Prerequisites

Download and install Node.js and npm here. ​

Note: Only Node.js 12 LTS is supported. Any other version can cause unexpected results. To use a different version of Node.js for other projects, you can manage multiple versions of Node.js with nvm.

Quick Start

To get up and running execute the following command in a shell/terminal:

npx create-commerce-app your-app-name

This will run a npx installation of create-commerce-app and create a sample Salesforce Commerce Storefront app for you. It creates the app as a sub-directory of the current working directory with the name of the directory being the app name provided while running the above command. More information about the sample Salesforce Commerce Storefront app and how to use it can be found here

Setup

Execute the following commands to install dependencies and build create-commerce-app locally.

npm install

Testing

To run tests, execute

npm run test

To print the detailed test results and errors on the console, execute

npm run test:debug

Issues

First, check the open issues and Commerce Cloud Developer Center for any open issues related to the issue that you are experiencing. If not already raised please file a new issue here with all the necessary details. If you require an urgent resolution to your issue please ask your AM/CSM to file a support ticket with Salesforce Commerce.

Contributing

If you would like to contribute please take a look at our contributors' guide.

License Information

This package is licensed under BSD-3-Clause license. See the license for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.8%
  • JavaScript 5.6%
  • Batchfile 0.6%