Coder Social home page Coder Social logo

ubiot-network's Introduction

Ubiot Network

Hyperledger Fabric network for rental machine UbiotThis is a network for purchase and rent of pay per use machines

Turn on the virtual machine "twinbiot"

Select the virtual machine an run https://console.cloud.google.com/compute/instancesproject=guminator&instancessize=50

##Connect to the virtual machine

Copy the following command and paste it in your terminal gcloud beta compute ssh --zone "us-central1-a" "rtorrealba@twinbiot" --project "guminator"

Run network Ubiot

Navigate to the ubiot network directory with the following command: cd /home/rtorrealba/ubiot-network

Run the startup network script ./start-network

Now, copy the printed link in your terminal and paste it into your browser

Hyperledger explorer

Open a second terminal and connect through shh to the twinbiot virtual machine

gcloud beta compute ssh --zone "us-central1-a" "rtorrealba@twinbiot" --project "guminator"

You will need to give permission to the organizations folder sudo chmod 777 -R ubiot-network/test-network/organizations/

Copy the organization folder in the explorer folder cp -r ubiot-network/test-network/organizations/ ubiot-network/explorer/

Then, copy the private key of the Org1 and paste it in the connection file cd ubiot-network/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/ | ls

Copy the name of the file printed in the terminal Go to the connection/profile directory and edit the first-network.json cd ubiot-network/explorer/connection-profile/

nano first-network.json

Paste the name in the organizations section, specifically in the path, next to the keystore Save the file, go to the explorer's directory and execute the following command:

docker-compose up

Open your browser and go to the virtual machine IP address on 8081 port

ubiot-network's People

Contributors

ubiot-alejandro avatar

Watchers

James Cloos 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.