This implementation currently only works on Linux.
cd $GOPATH/src/github.com/robertbublik
go install ./cmd/bci
bci help
Blockchain-based Continuous Integration CLI Usage:
bci [flags]
bci [command] Available Commands:
balances Interact with balances (list...).
help Help about any command
run Launches the BCI node and its HTTP API.
status Displays status of BCI.
tx Interact with transactions (add, list...). Flags:
-h, --help help for bci
docker run -d -p 5000:5000 --restart=always --name registry registry:2
bci run --datadir=$HOME/bci-nodes/bootstrap --ip=127.0.0.1 --port=8080
bci run --datadir=$HOME/bci-nodes/miner-1 --account=miner-1 --ip=127.0.0.1 --port=8081
bci run --datadir=$HOME/bci-nodes/miner-2 --account=miner-2 --ip=127.0.0.1 --port=8082
bci run --datadir=$HOME/bci-nodes/miner-3 --account=miner-3 --ip=127.0.0.1 --port=8083
bci tx add --from=developer-1 --value=100 --language=docker --repository=https://github.com/robertbublik/BCI_docker
bci tx add --from=developer-2 --value=200 --language=docker --repository=https://github.com/robertbublik/BCI_docker
bci tx add --from=developer-3 --value=300 --language=docker --repository=https://github.com/robertbublik/BCI_docker