This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from vania-pooh/master
Moved development to adoc and shortened README.md
- Loading branch information
Showing
3 changed files
with
54 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
== Contributing & Development | ||
To build Ggr: | ||
|
||
. Install https://golang.org/doc/install[Golang] | ||
. Setup `$GOPATH` https://github.com/golang/go/wiki/GOPATH[properly] | ||
. Install https://github.com/kardianos/govendor[govendor]: | ||
|
||
$ go get -u github.com/kardianos/govendor | ||
|
||
. Get Ggr source: | ||
|
||
$ go get -d github.com/aerokube/ggr | ||
|
||
. Go to project directory: | ||
|
||
$ cd $GOPATH/src/github.com/aerokube/ggr | ||
|
||
. Checkout dependencies: | ||
|
||
$ govendor sync | ||
|
||
. Build source: | ||
|
||
$ go build | ||
|
||
. Run Ggr: | ||
|
||
$ ./ggr --help | ||
|
||
[TIP] | ||
==== | ||
To build http://docker.com/[Docker] container type: | ||
[source,bash] | ||
---- | ||
$ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build | ||
$ docker build -t ggr:latest . | ||
---- | ||
==== | ||
|
||
=== Documentation | ||
|
||
Locally can be generated with: | ||
|
||
[source,bash] | ||
---- | ||
$ docker run --rm -v `pwd`/docs/:/documents/ \ | ||
asciidoctor/docker-asciidoctor \ | ||
asciidoctor -D /documents/output/ index.adoc | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters