Need a script to setup fabric cluster
xiejunan opened this issue · comments
I am writing a script to setup a fabric cluster automatically, including following works:
- 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 - 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
@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.