Giter Site home page Giter Site logo

camchpl / commercetools-sunrise-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from commercetools/commercetools-sunrise-data

0.0 1.0 0.0 12.2 MB

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

License: Apache License 2.0

JavaScript 20.57% Shell 0.61% Java 78.82%

commercetools-sunrise-data's Introduction

Sunrise Data

Build Status

How to create a project with Sunrise data

Before starting the import, make sure you have access to the Admin Center. You will also need to run the application in this repository, check that you meet the requirements and clone this repository to your computer.

1. Create your project

  1. Open the Admin Center and create an empty project (without sample data).

2. Prepare node environemnt for Import

  1. Go to the root of this project, were the package.json is located.
  2. Install all node dependencies
        npm install
  3. Set commercetools project credentials as npm config values:
         npm config set sunrise:authUrl authUrl - (i.e. auth.commercetools.com)
         npm config set sunrise:apiUrl apiUrl - (i.e. api.commercetools.com)
         npm config set sunrise:projectKey projectKey
         npm config set sunrise:clientId clientId
         npm config set sunrise:clientSecret clientSecret
     
    *Url variables expect only the host name, not a full URL.

3. Import basic data

  1. import project setting, delivery zones / tax setting, categories and products
        npm run start

4. Import additional data (optional)

  1. import inventories
        npm run import:inventory

How to use the application

Requirements

  • Install Java 8
  • Install Node.js ^8 or ^9 (node 10 is not compatible)

On Issues with the node version (e.g. after switching the version), run npm rebuild

commercetools-sunrise-data's People

Contributors

lauraluiz avatar sshibani avatar ccsalazarr-commercetools avatar schleichardt avatar plaskevich avatar hajoeichler avatar trangng avatar katmatt avatar mmoelli avatar acbeni avatar meastie avatar nikola-mladenovic avatar ct-szilvia avatar valesauer avatar

Watchers

James Cloos 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.