Development | npmjs

Installation

NOTE: Before you proceed you need to have nodejs and npm installed.

  1. Open Toolkit page. There is a lot of useful information there
    In your terminal / cmd type npm install -g cloudux-starter-kit-service

  2. Go to directory where you want to create your project and open terminal / cmd there

    ActiveApp
  3. In terminal / cmd type cloudux-starter-kit-service and proceed with instruction

    ActiveApp
  4. Go to my.avid.com and after Signing in accept License agreement then you will be able to download proxy-bal. It is npm package containing module for gateway connection.

    SignIn
  5. Download module and unzip it.

    downloads unzip
  6. Copy proxy-bal.tgz to your service root directory and type in your command line (go to root of your service) npm install ./proxy-bal.tgz

    install
  7. Now you can use regular npm install in root of your service to install rest of dependencies.

  8. Paste your AppId and AppSecret into your project.config.json file.

    IdSecret
  9. Type npm start in your cmd and you will see that server has connected sucesfully.

    start

Publishing

NOTE: For publishing you need to have docker and helm installed an available in $PATH on your machine.

  1. Once development is done you need AppID and AppSecret to publish your app to AVID sellers portal

    a) In your TestService1/project.config.json file under signing there is field privateKeyPath.

    There you should provide absolute path to your private key that will be used for signing.

    Field appID it should contain your appId.

    Also appSecret field should contain your app secret. Organization is mandatory. Developer ID id optionall.

  2. After publishing is done you should be able to go to your’s product’s page and see installation file.

    installer