Add dependency installation to README
See https://github.com/tus/tusd/issues/187
This commit is contained in:
parent
f36708c35a
commit
dfaa279342
|
@ -32,11 +32,16 @@ Windows in various formats of the
|
||||||
### Compile from source
|
### Compile from source
|
||||||
|
|
||||||
The only requirement for building tusd is [Go](http://golang.org/doc/install) 1.5 or newer.
|
The only requirement for building tusd is [Go](http://golang.org/doc/install) 1.5 or newer.
|
||||||
If you meet this criteria, you can clone the git repository and build the binary:
|
If you meet this criteria, you can clone the git repository, install the remaining
|
||||||
|
depedencies and build the binary:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone git@github.com:tus/tusd.git
|
git clone git@github.com:tus/tusd.git
|
||||||
cd tusd
|
cd tusd
|
||||||
|
|
||||||
|
go get -u github.com/aws/aws-sdk-go/...
|
||||||
|
go get -u github.com/prometheus/client_golang/prometheus
|
||||||
|
|
||||||
go build -o tusd cmd/tusd/main.go
|
go build -o tusd cmd/tusd/main.go
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue