- Access to a commercetools Project and the Merchant Center. If you do not have a commercetools Project, follow our Getting started guide.
- Node.js (version 10 or later) must be installed on your computer.
- Clone this repository to your computer.
- Go to the root of the project, where
package.jsonis located, and install all node dependencies with:
npm install
- Create an API client in the Merchant Center.
- Download the
Environment Variables (.env)file.
- Rename this file
.envand move it to the root of the project.
-
Clean all existing Project data and import new:
npm run start -
Clean project data:
npm run clean:data -
Import Project data:
npm run import:data -
Clean or import certain data (e.g. Categories, Products, Customers, etc.)
npm run clean:categoriesor
npm run import:productsor
npm run import:customers

