/AVADOSDK

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

AVADO SDK

Tools to create your own AVADO compatible packages.

Install

Install straight from github using this command:

npm i -g git+https://github.com/AvadoDServer/AVADOSDK.git

Usage

mkdir mypackage
cd mypackage
avadosdk init
(then answer these questions)
? AVADO package name mypackage.avado.dappnode.eth
? Version 0.0.1
? Description mypackageavado.dappnode.eth description
? Author sponnet
? License GLP-3.0

Now you have a package template

try building it - connect to your AVADO (for IPFS access) and type

avadosdk build

  ✔ Create release dir
  ✔ Copy files and validate
  ✔ Build docker image
  ✔ Save and compress image
  ✔ Upload avatar to IPFS
  ✔ Upload image to IPFS
  ✔ Upload manifest to IPFS
  ✔ Save upload results

  package built and uploaded
  Manifest hash : /ipfs/QmZ1xDukvh2gimJ3JbSrn7MvsibA9X2QuRRBGzFwFeNo9E
  

now go to your AVADO http://my.avado/#/installer and paste the IPFS hash in the search field above.

image

now you can install your package and test it out !

image

It's running

image

Success !