Hacker News new | ask | show | jobs
by dordoka 4112 days ago
Care to share how did you get it working on Synology? Thanks very much.
1 comments

Uhm, basically I built it on my mac with

GOOS=linux GOARCH=arm GOARM=7 go build

See http://dave.cheney.net/2012/09/08/an-introduction-to-cross-c... for cross compilation instructions.

Then I created a new user, scpd the distribution and added gogs binary to rc.local. I also installed git from the Synology package manager. There was some tweaking involved, but that was mostly it.

Thanks izacus for sharing!