@iamnapo/btc-network

    0.6.4 • Public • Published

    btc-network

    Tiny module that creates a btc network using docker images

    dockerhub build npm license

    Install

    1. If you don't have Docker, install it:

      curl -fsSL https://get.docker.com -o get-docker.sh
      sh get-docker.sh
    2. 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/*"
    3. 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.

    Usage

    WARNING: Check the files in templates/ for the required input structure.

    Usage

    $ btc-network --help for more info.

    Keywords

    none

    Install

    npm i @iamnapo/btc-network

    DownloadsWeekly Downloads

    54

    Version

    0.6.4

    License

    MIT

    Unpacked Size

    40.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • iamnapo