-
Install Golang and bzr library
-
Create a new work space:
mkdir ~/go-workspace export GOPATH=~/go-workspace
You may add the last export
line into the ~/.bashrc
or the ~/.bash_profile
file to have GOPATH
environment variable properly setup upon every login.
-
Get the latest version and all dependencies:
go get github.com/ARGOeu/argo-web-api
-
To build the service use the following command:
go build
-
To run the service use the following command:
./argo-web-api
For a list of options use the following command:
./ar-web-api -h
-
To run the unit-tests:
go test ./...
-
To generate and serve godoc (@port 6060)
godoc -http=:6060