You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
.idea | 2 years ago | |
chaincode | 2 years ago | |
fixtures | 2 years ago | |
img | 2 years ago | |
sdkInit | 2 years ago | |
service | 2 years ago | |
web | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
clean_docker.sh | 2 years ago | |
config.yaml | 2 years ago | |
education | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
main.go | 2 years ago |
README.md
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
进行访问