Code Monkey home page Code Monkey logo

txng-bln's Introduction

Hyperledger Fabric

Prerequisites

git

  • Install git
$ sudo apt-get install git
  • Check version
$ git --version

curl

  • Install curl
$ sudo apt-get install curl
  • Check version curl
$ curl --version

docker/docker-compose

  • Install docker/docker-compose
$ sudo apt-get install docker.io docker-compose
  • Check version docker/docker-compose
$ docker --version
$ docker-compose --version

go

  • Install go
$ wget https://dl.google.com/go/go1.13.linux-amd64.tar.gz
$ sudo tar -C /usr/local -xzf go1.13.linux-amd64.tar.gz
  • Set path
# nano ~/.profile
  • Add to file
export PATH=$PATH:/usr/local/go/bin
  • Check version go
# source ~/.profile
# go version

nodejs

  • Install nodejs
# apt install nodejs
  • Check version nodejs
# node --version
  • Install nvm
# curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash 
# source ~/.profile
  • Install nodejs version
# nvm install 14.*

python

  • Install python
$ sudo apt-get install python
  • Check python version
$ python --version

Fabric Samples

  • Download the latest production release
# curl -sSL http://bit.ly/2ysbOFE | bash -s 1.4.4
#You can replace 1.4.4 with 2.0.0 if you want to install Fabric 2.0.0
  • Setting first-network
# cd ROOT/fabric-samples/first-network
# ./byfn.sh generate
# ./byfn.sh up
  • You should get something like below at the end of execution if everything went right. If not you may have made a mistake in the installation process
========= All GOOD, BYFN execution completed ===========
 _____   _   _   ____    
| ____| | \ | | |  _ \
|  _|   |  \| | | | | |
| |___  | |\  | | |_| |
|_____| |_| \_| |____/
  • Check if all the docker containers are running
# docker ps -a
  • Clean the Network
# ./byfn.sh down

Refs

txng-bln's People

Contributors

hainguyenvan avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.