You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Migrating configuration from releases before v1.0](#migrating-configuration-from-releases-before-v10)
@@ -21,26 +22,43 @@ Manages a virtual IP based on state kept in etcd or Consul. Monitors state in et
21
22
-[Debugging](#Debugging)
22
23
-[Author](#Author)
23
24
25
+
## Prerequisites
26
+
27
+
-`go` >= 1.14
28
+
-`make`
29
+
-[`nfpm`](https://github.com/goreleaser/nfpm) for building .rpm and .deb packages
30
+
-[`chglog`](https://github.com/goreleaser/chglog) for changelog and packaging
31
+
24
32
## Building
25
-
1. Make sure you have at least version 1.14 of Golang for proper module support. You can get by with go 1.12 or 1.13, but YMMV.
26
-
2. To make sure that internal includes (the vipconfig and the checker package) are satisfied, place the base directory of this project properly into your `$GOPATH`.
27
-
The resulting location should be `$GOPATH/src/github.com/cybertec-postgresql/vip-manager/`. The easiest way to do this is:
28
-
```go get github.com/cybertec-postgresql/vip-manager```
29
-
3. Build the binary using `make`.
30
-
4. To build your own .deb or .rpm, [`nfpm`](https://github.com/goreleaser/nfpm) and [`chglog`](https://github.com/goreleaser/chglog) are required. Install it, add it to your path and try running `make package`, which will generate a .deb and .rpm package.
0 commit comments