Added building from source section

fixed #7
This commit is contained in:
Leonid Bugaev
2013-06-14 13:02:54 +06:00
parent 5384aaf21b
commit 4bcb3e1ca6
+6
View File
@@ -70,6 +70,12 @@ Usage of ./bin/gor-linux:
[Download binaries (linux 32/64, darwin)](https://drive.google.com/folderview?id=0B46uay48NwcfWFowc1E4a1BISVU&usp=sharing)
## Building from source
1. Setup standard Go environment http://golang.org/doc/code.html and ensure that $GOPATH environment variable properly set.
2. `go get github.com/buger/gor`.
3. `cd $GOPATH/src/github.com/buger/gor`
4. `go build gor.go` to get binary, or `go run gor.go` to build and run (useful for development)
## FAQ
### Why does the `gor listener` requires sudo or root access?