added 'go get' command & build instructions (#16) (#19)

Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
Andreas Ulm 2019-04-25 16:16:57 +02:00 committed by Lunny Xiao
parent 3713949934
commit b924cd5296

View File

@ -7,6 +7,7 @@ the Gitea API implementation.
Currently no prebuilt binaries are provided.
To install, a Go installation is needed.
```sh
go get code.gitea.io/tea
go install code.gitea.io/tea
```
@ -30,6 +31,15 @@ tea releases
> If you are inside a git repository hosted on a gitea instance, you don't need to specify the `--login` and `--repo` flags!
## Compilation
To compile the sources yourself run the following:
```sh
go get code.gitea.io/tea
cd "${GOPATH}/src/code.gitea.io/tea"
go build
```
## Contributing
Fork -> Patch -> Push -> Pull Request