Arrowhead Framework automatic cloud deployment project in the D0020E course.
Get the latest binary from: https://github.com/willeponken/ahfdeploy/releases
- Download and install Go (https://golang.org/dl/)
- Change directory to
cmd/ahfdeploy
and rungo build
- Run the binary created as
ahfdeploy
, run with--help
for instructions
- Download and install Go (https://golang.org/dl/)
- (optional) Install GoLand IDE (https://www.jetbrains.com/go/)
- Install the dependency manager
dep
withgo get -u github.com/golang/dep/cmd/dep
- Run
dep ensure
and you're good to go!
Before you commit, the affected files should be run through goimports
. Bonus: Also run go vet
.
- goimports:
go get golang.org/x/tools/cmd/goimports
Write tests for everything.
Develop inside your own branch until you're done, then send a pull request.
Commits should be formatted with primary affected package as prefix, a short descriptive one liner and then an optional description of the context and what the change does. Also use GitHub's fixes #123
feature for closing issues.
Example:
math: improve Sin, Cos and Tan precision for very large arguments
The existing implementation has poor numerical properties for
large arguments, so use the McGillicutty algorithm to improve
accuracy above 1e10.
The algorithm is described at http://wikipedia.org/wiki/McGillicutty_Algorithm
Fixes #159
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch foo
# Changes not staged for commit:
# modified: editedfile.go
#
Take a look at: https://github.com/golang/go/wiki/CodeReviewComments
Build status | Test coverage |
---|---|
Link to the official AHF repo: https://forge.soa4d.org/scm/?group_id=58