Permalink
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (23 sloc) 1.05 KB

Building:

Install Go 1.8+, git, and VIPS 8.4.6+.

If you haven't used Go before, first create a source tree for your Go code:

mkdir -p $HOME/go/src
export GOPATH=$HOME/go

On OSX, you can install all of the dependencies with Homebrew:

brew install go git homebrew/science/vips

On most Linux flavors, you can install Go and VIPS with the preinstall.sh script:

git clone https://github.com/die-net/fotomat.git $GOPATH/src/github.com/die-net/fotomat/
cd $GOPATH/src/github.com/die-net/fotomat/
sudo ./preinstall.sh

Then for all OSes:

go get -u github.com/die-net/fotomat/...

And you'll end up with the executable:$GOPATH/bin/fotomat

Docker:

Alternatively if you use Docker, there's a Dockerfile which is used to build an up-to-date Docker image. Fetch it with:

docker pull dienet/fotomat:latest