Vagrant Development Environment for Composer Development
Switch branches/tags
Nothing to show
Clone or download
Rajeev Sakhuja Rajeev Sakhuja
Rajeev Sakhuja and Rajeev Sakhuja hlfv13 support
Latest commit b9b61a2 Oct 24, 2018
Permalink
Failed to load latest commit information.
sample upd Mar 31, 2018
scripts hlfv13 support Oct 24, 2018
util ok May 22, 2018
v1.3 hlfv13 support Oct 24, 2018
.gitignore updates to box May 13, 2018
README.md Updated scripts for docker issues Sep 30, 2018
Vagrantfile Updated scripts for docker issues Sep 30, 2018
Vagrantfile.hyperv new file May 14, 2018
orderer.yaml ok May 22, 2018

README.md

Last Updated: September 30, 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