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.

21 lines
396 B

# 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`进行访问