mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 20:22:46 +00:00
Update README.md
Add method to build tunasync
This commit is contained in:
parent
9edb80663c
commit
d3b92f4a51
14
README.md
14
README.md
@ -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
|
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user