hyperledger-archives / fabric

THIS IS A READ-ONLY historic repository. Current development is at https://gerrit.hyperledger.org/r/#/admin/projects/fabric . pull requests not accepted
https://gerrit.hyperledger.org/
Apache License 2.0
1.17k stars 1.01k forks source link

Need a script to setup fabric cluster #2392

Open xiejunan opened 8 years ago

xiejunan commented 8 years ago

I am writing a script to setup a fabric cluster automatically, including following works:

  1. setup a node to compile peer&base image, following steps need to be done: . install/verify docker . install/verify go . install/verify rocksdb . clone fabric . make base image & export base image as tar file . make peer & peer image . construct a install dir to contain all related output: bin of peer, core.yaml, config of consensus , exported image files etc
  2. setup some nodes to install fabric, following steps need to be done: . install/verify docker . install/verify rocksdb . scp fabric install files from the compile node, import images . modify core.yaml according node role(root node or not ) . if peer will run in docker , setup overlay network like flannel etc . start peer/membersrvc via init
christo4ferris commented 8 years ago

@xiejunan we've transitioned to using Gerrit and Jira for development of the various Hyperledger projects.

That said, there is a vagrant environment that does all of that under the devenv directory. As for just deploying (eg. without needing a build) you can deploy the docker images we publish to DockerHub.