Skip to content

vietphamna/config.json

 
 

Repository files navigation

Super Protocol Publisher CLI

A tool for publishing values in a secure and reliable way.

Setup

  1. Follow instructions to setup Decentralized Cloud Storage providers: StorJ

  2. Install dependencies:

    yarn
    
  3. Run help in dev mode to see available commands:

    yarn dev help
    

Building

upload and download commands supported only on MacOS and Linux and requires to make build on the same system as the target platform

Linux

Build in docker (recommended):

cd linux_builder && ./build.sh && cd ..

Can be run on any os with Docker support.
Result will be saved at ./dist/spctl-linux

Build on native os (linux only):

yarn build:linux

IMPORTANT: to make upload and download commands works correctly, requires to make this build on Linux only
Result will be saved at ./dist/spctl

MacOS

yarn build:mac

IMPORTANT: to make upload and download commands works correctly, requires to make this build on MacOS only
Result will be saved at ./dist/spctl

Commands

yarn build – compiles typescript with tcs.
yarn build:linux – builds a linux binary file ready for distribution
yarn build:macos – builds a macos binary file ready for distribution
yarn dev [command] – runs command in dev mode
yarn prettier – runs code auto formatting

Dependencies

  • NodeJS v17.4.0
  • NPM v8.3.1
  • yarn v1.22.17

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.7%
  • Other 0.3%