1
0
mirror of https://github.com/containrrr/watchtower.git synced 2024-12-03 08:45:43 +02:00
watchtower/CONTRIBUTING.md
Fabrizio Steiner 63aa3efb11 Added glide for vendoring dependencies.
- Docker to 1.13.x
2017-01-24 20:52:47 +01:00

1.1 KiB

Prerequisites

To contribute code changes to this project you will need the following development kits.

Checking out the code

When cloning watchtower to your development environment you should place your forked repo within the standard go code structure.

cd $GOPATH/src
mkdir <yourfork>
cd <yourfork>
git clone git@github.com:<yourfork>/watchtower.git
cd watchtower

Building and testing

watchtower is a go application and is built with go commands. The following commands assume that you are at the root level of your repo.

go get -u github.com/Masterminds/glide # installs glide for vendoring
glide install                          # retrieves package dependencies
go build                               # compiles and packages an executable binary, watchtower
go test                                # runs tests
./watchtower                           # runs the application (outside of a container)