Giter Site home page Giter Site logo

hlf-vagrant-dev-setup's Introduction

Last Updated: December 2, 2018

Part of the course on Hyperledger Fabric

http://www.ACloudFan.com https://hyperledger.github.io/composer/installing/installing-prereqs#ubuntu

Vagrant commands

vagrant up vagrant ssh vagrant halt vagrant destroy

Windows | Mac | Linux Docker

  • DO NOT RUN DOCKER DAEMON on Host Machine
  • Install the Docker or Docker toolbox - Only docker client will be used
  • Make sure that following environment variables are NOT SET Use Control Panel on windows DOCKER_TLS DOCKER_TLS_VERIFY
  • Set the Environment following variable in Windows DOCKER_HOST=tcp://localhost:2375

Install Vagrant

Setup Ubuntu VM (~10 minutes first time)

  • Open a terminal window in the root of this folder

vagrant up

Setup Vagrant Dev Environment (~5 min)

PS: If you get a permissions error, run this command

chmod 755 ./scripts/*.sh

Open a terminal window and cd to the root of this project vagrant up vagrant ssh $ ./scripts/install-prereqs.sh // Logout of vagrant $ logout vagrant ssh $ ./scripts/install-fabric-tools.sh $ ./scripts/install-composer.sh

Download Fabric (~20 min)

Logout of Ubuntu

vagrant ssh ./downloadFabric.sh

Validation

You should be able to use the docker commands on your host machine

set DOCKER_HOST=tcp://localhost:2375
unest DOCKER_TLS_VERIFY

docker images // Should not fail

hlf-vagrant-dev-setup's People

Contributors

acloudfan 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.