Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyperledgendary/asdf-fabric
https://github.com/hyperledgendary/asdf-fabric
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hyperledgendary/asdf-fabric
- Owner: hyperledgendary
- License: apache-2.0
- Created: 2022-11-16T09:10:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-13T16:13:41.000Z (over 1 year ago)
- Last Synced: 2024-11-09T06:40:28.454Z (3 months ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# asdf-fabric [![Build](https://github.com/hyperledgendary/asdf-fabric/actions/workflows/build.yml/badge.svg)](https://github.com/hyperledgendary/asdf-fabric/actions/workflows/build.yml) [![Lint](https://github.com/hyperledgendary/asdf-fabric/actions/workflows/lint.yml/badge.svg)](https://github.com/hyperledgendary/asdf-fabric/actions/workflows/lint.yml)
[fabric](https://github.com/hyperledgendary/asdf-fabric) plugin for the [asdf version manager](https://asdf-vm.com).
# Contents
- [Dependencies](#dependencies)
- [Install](#install)
- [Contributing](#contributing)
- [License](#license)# Install
ASDF:
ASDF needs to be installed first; this isn't quite as daunting as it might look.
```shell
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:
```shell
asdf plugin add fabric https://github.com/hyperledgendary/asdf-fabric.git
```Hyperledger Fabric:
The main commands are
```shell
# 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:
```shell
# 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](https://github.com/asdf-vm/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](contributing.md).
# License
See [LICENSE](LICENSE)