Giter VIP home page Giter VIP logo

on-skupack's Introduction

on-skupack

Maintain SKU specific package content such as templates and other static files.

Quick Start

  • Prerequisites

    • Debian based build system or equivalent that can install the necessary dependencies (i.e. Ubuntu 12.04 & up)
    • Install the following packages (Ubuntu example):
    sudo apt-get install dh-make devscripts debhelper
    
  • Build SKU package

    • On the root directory of on-skupack repo run:
    $ ./build-package.bash <sku_pack_directory> <subname>
    Note: <sku_pack_directory> must be one of the directory names containing the node type on the root directory of on-skupack, e.g., it can be quanta-d51-1u,
    quanta-t41,dell-r630, etc, and <subname> can be any name a user likes. A {sku_pack_directory_subname}.tar.gz will be created in tarballs folder of the same directory
    
    • Example
    $ ./build-package.bash quanta-t41 master
    Note: After running this command, quanta-t41_master.tar.gz could be found at the tarballs folder which is under the root directory of on-skupack repo.
    
  • Register a new SKU with the package

    $ curl -X POST -F file=@tarballs/sku_pack_directory_subname.tar.gz localhost:8080/api/current/skus/pack
    Note: The above command will return a SKU ID. If an error like “Duplicate name found”
    is returned in place of the the SKU ID, check the database (with the command:$ curl {ORA IP}:8080/api/current/skus | python -mjson.tool ) and delete
    a preexisting SKU package ( with the command: $ curl -X DELETE {ORA IP}:8080/api/current/skus/{sku id})
    
  • Please refer to SKU PACK Guide for more API commands

on-skupack's People

Contributors

anhou avatar benbp avatar hohene avatar iceiilin avatar jlongever avatar king-jam avatar lanchongyizu avatar larry-dean avatar pengz1 avatar pscharla avatar sunnyqianzhang avatar tannoa2 avatar uppalk1 avatar yyscamper avatar zyoung51 avatar

Watchers

 avatar  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.