sxguan / education

Apache License 2.0
91 stars 33 forks source link

education

GOPATH设置为/root/go,拉取项目:

cd $GOPATH/src && git clone https://github.com/sxguan/education.git

/etc/hosts中添加:

127.0.0.1  orderer.example.com
127.0.0.1  peer0.org1.example.com
127.0.0.1  peer1.org1.example.com

添加依赖:

cd education && go mod tidy

运行项目:

./clean_docker.sh

127.0.0.1:9000进行访问