Skip to content

Latest commit

 

History

History
93 lines (57 loc) · 2.21 KB

README.md

File metadata and controls

93 lines (57 loc) · 2.21 KB

asdf-fabric Build Lint

fabric plugin for the asdf version manager.

Contents

Install

ASDF:

ASDF needs to be installed first; this isn't quite as daunting as it might look.

git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.2

# Add this to your .bashrc .zshrc or whatever your shell is
. $HOME/.asdf/asdf.sh

With any changce to the .xxxrc I suggest to logout and in again to ensure that changes are picked up. Should you be using a keyboard that doesn't have a s d f located sequentialy, you may wish to alias the command to another key sequence.

Plugin:

asdf plugin add fabric https://github.com/hyperledgendary/asdf-fabric.git

Hyperledger Fabric:

The main commands are

# Install specific version eg 2.4.6
asdf install fabric 2.4.6

# Set shells current version of the Fabric commands to 2.4.6
asdf shell fabric 2.4.6

# Set the docker images for the current selected verion as 'latest'
asdf fabric tag

Other useful commands are:

# Show all installable versions
asdf list-all fabric

# Install specific version
asdf install fabric latest

# Tag the docker images at version 2.4.5 as 'latest'
asdf fabric tag 2.4.5

# Set a version globally (on your ~/.tool-versions file)
asdf global fabric latest

# Now fabric commands are available
peer version

Check asdf readme for more instructions on how to install & manage versions.

TODO

  • validate this work on ARM
  • help commands
  • support configuring the level of ca - currently hard coded at 1.5.5

Contributing

Contributions of any kind welcome! See the contributing guide.

License

See LICENSE