0.0.26 • Published 4 years ago

ajix v0.0.26

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
4 years ago

Ajix

The Ajix cli handles content updates according to state of the ajinomoto production process. For further information check the specifications.

Prerequisites

  • Generate a 64 character hexadecimal seed
  • Nodejs ^12
  • yarn

Configure Secrets

Inorder for the cli to work properly, Secrets have to be configured and saved into the directory ~/.helix/config.json.

{
    "HELIX_PROVIDER_URL":"place your helix provider url here",
    "HELIX_SEED" : "place your helix seed here",
    "HELIX_RECIPIENT_ADDR": "Add your recipeint address here",
    "PINATA_API_KEY": "place your pinata API key here",
    "PINATA_SECRET_KEY" : "Place your pinata secret key",
    "MONGO_DB_URL":"Mongo DB Url"
}

All the above secrets can also be loaded via defining in the enviornment variables. If the values are defined in the enviornment, it will be given more precedence over the values defined in the config.json. We will be making use of a managed ipfs provider pinata where you can signup a free account to get 1gb free storage lifetime. KINDLY NOTE: the seed used for this should only be handled by the cli only. It should not be used for anyother purposes. Each record published will be spending 1 hlx each for transaction. So make sure you have adequate supplies of funds in the balance.

How to Install and Run the application

 npm i -g ajix
 ajix -h  # gives a list of all available commands