Code Monkey home page Code Monkey logo

availup's Introduction

Availup

To run an Avail light client, simply run the following command:

curl -sL1 avail.sh | sh

or, with wget:

wget --https-only --secure-protocol=TLSv1_2 --quiet -O - avail.sh | sh

You can pass additional flags to the script like:

curl -sL1 avail.sh | sh -s -- --network goldberg

Currently available flags are:

  • network: can be one of the following: [kate, goldberg, local]
  • config: path to the configuration file, availup will generate a config if this flag is not specified
  • app_id: application ID to run the light client (defaults to 0)
  • upgrade: takes y and yes as valid arguments, indicating that the avail-light binary should be upgraded

You can modify the existing default config by running and rerun availup to use the new config:

# create the config:
touch ~/config.yml
# edit the config:
nano ~/config.yml
# and rerunning the script:
curl -sL1 avail.sh | sh -s -- --config ~/config.yml

Alternatively, you can pass a specific application ID with availup:

rm ~/.avail/goldberg/config.yml
# and rerunning the script with flags:
curl -sL1 avail.sh | sh -s -- --app_id 1

To upgrade the light client to a latest version, you can simply pass the --upgrade flag like:

curl -sL1 avail.sh | sh -s -- --upgrade y

availup's People

Contributors

qedk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.