goldfish icon indicating copy to clipboard operation
goldfish copied to clipboard

How to build this

Open morriswinkler opened this issue 8 years ago • 2 comments

I couldn't find on how you build the complete binary, i guess since you embed stuff with go-bindata there are more than one step, well i get

root@inthathouse /srv/www/w.laydrop.com # go build github.com/lucas-clemente/goldfish
# github.com/lucas-clemente/goldfish
/root/go/src/github.com/lucas-clemente/goldfish/main.go:48: undefined: Asset
/root/go/src/github.com/lucas-clemente/goldfish/main.go:48: undefined: AssetDir
/root/go/src/github.com/lucas-clemente/goldfish/main.go:50: undefined: Asset

morriswinkler avatar Mar 31 '16 16:03 morriswinkler

I've written a Makefile which you can use. To build everything from scratch, you also need the ember.js stuff though. IIRC it should be enough to run npm install and bower install in the web directory. :)

lucas-clemente avatar Apr 01 '16 09:04 lucas-clemente

Also, in case you haven't seen it, there's a compiled binary in the releases tab.

lucas-clemente avatar Apr 01 '16 09:04 lucas-clemente