Giter Site home page Giter Site logo

rares-zaharescu / commercetools-sunrise-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from commercetools/commercetools-sunrise-data

0.0 0.0 0.0 16.54 MB

The data (product types, categories, products) for Sunrise

License: Apache License 2.0

Shell 1.21% JavaScript 98.79%

commercetools-sunrise-data's Introduction

Sunrise Data

Build Status

Prerequisites

  1. Access to a commercetools Project and the Merchant Center. If you do not have a commercetools Project, follow our Getting started guide.
  2. Node.js (version 10 or later) must be installed on your computer.

Setting up your Sunrise Data project

  1. Clone this repository to your computer.
  2. Go to the root of the project, where package.json is located, and install all node dependencies with:
npm install
  1. Create an API client in the Merchant Center.
  2. Download the Environment Variables (.env) file.

Client credential in dot env file

  1. Rename this file .env and move it to the root of the project.

The .env file in Visual Studio Code

Commands

  1. Clean all existing Project data and import new:

        npm run start
    
  2. Clean project data:

        npm run clean:data
    
  3. Import Project data:

        npm run import:data
    
  4. Clean or import certain data (e.g. Categories, Products, Customers, etc.)

        npm run clean:categories
    

    or

        npm run import:products
    

    or

        npm run import:customers
    

commercetools-sunrise-data's People

Contributors

lauraluiz avatar sshibani avatar plaskevich avatar harm-meijer avatar ccsalazarr-commercetools avatar schleichardt avatar hajoeichler avatar trangng avatar katmatt avatar mmoelli avatar acbeni avatar meastie avatar marcusschmidt-ct avatar nikola-mladenovic avatar dependabot[bot] avatar ct-szilvia avatar markus-azer avatar alandooz avatar anilkk avatar jpurnell avatar mat-burke avatar industrian avatar valesauer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.