Tiny module that creates a btc network using docker images
-
If you don't have Docker, install it:
curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh
-
If you don't have Node.js, install it:
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash $ export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" $ nvm i "lts/*"
-
Install
btc-network
globally:$ npm i @iamnapo/btc-network -g
Note: If you want a one-liner to do all of the above:
$ curl -o- https://raw.githubusercontent.com/iamnapo/btc-network/master/install.sh | bash
Note: If you don't want to use node/npm, you can download the corresponding binary. Keep in mind that Docker is still required.
WARNING: Check the files in templates/
for the required input structure.
$ btc-network --help
for more info.