manualbuild
Manual package
Recommend reading the note at the bottom if you're using a mac.
- Install Go
- Install GoReleaser
- Clone this repo and change your working directory to the checkout.
git clone https://github.com/unpoller/unpoller.git
cd unpoller
- Install local Golang dependencies:
- Build a package (or two!):
make build
will build all packages and image
- Install it:
sudo dpkg -i dist/*.deb || sudo rpm -Uvh dist/*.rpm
Manual Build Notes
If you're building linux packages on a mac you can run brew install rpmbuild gnu-tar
to get the additional tools you need. That means you're going to need Homebrew.
And if you're going to install Homebrew, or already have, you can simply
do something like this to get your Go environment up and build the packages:
brew install rpmbuild gnu-tar go goreleaser/tap/goreleaser
mkdir ~/go/{src,mod}
export GOPATH=~/go
cd ~go/src
git clone https://github.com/unpoller/unpoller.git
cd unpoller
make rpm deb