Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add method to build tunasync
  • Loading branch information
huiyiqun authored Nov 6, 2016
1 parent 9edb806 commit d3b92f4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,17 @@ Finally generate and sign host cert with root CA
```
openssl x509 -req -in host.csr -CA rootCA.crt -CAkey rootCA.key -CAcreateserial -out host.crt -days 365 -extensions v3_req -extfile req.cnf
```

## Building

Setup GOPATH like [this](https://golang.org/cmd/go/#hdr-GOPATH_environment_variable).

Then:

```
go get -d github.com/tuna/tunasync/cmd/tunasync
cd $GOPATH/src/github.com/tuna/tunasync
make
```

If you have multiple `GOPATH`s, replace the `$GOPATH` with your first one.

0 comments on commit d3b92f4

Please sign in to comment.