Development | npmjs
Installation
NOTE: Before you proceed you need to have nodejs and npm installed.
Open Toolkit page. There is a lot of useful information there
In your terminal / cmd typenpm install -g cloudux-starter-kit-service
Go to directory where you want to create your project and open terminal / cmd there
In terminal / cmd type
cloudux-starter-kit-service
and proceed with instructionGo 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.
Download module and unzip it.
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
Now you can use regular
npm install
in root of your service to install rest of dependencies.Paste your AppId and AppSecret into your
project.config.json
file.Type
npm start
in your cmd and you will see that server has connected sucesfully.
Publishing
NOTE: For publishing you need to have docker and helm installed an available in $PATH on your machine.
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 undersigning
there is fieldprivateKeyPath
.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.After publishing is done you should be able to go to your’s product’s page and see installation file.