3 ms·
I use Gogs on my Synology NAS for personal use and I love it. Mostly because it's so easy to setup and deploy - cross-compiling the binary for ARM was simple, a
by izacus 12y ago
I use Gogs on my Synology NAS for personal use and I love it. Mostly because it's so easy to setup and deploy - cross-compiling the binary for ARM was simple, after that it was just a matter of SCPing it to the NAS itself.
It's not as feature rich as other options, but it does it's job well.
- dordoka 12y agoCare to share how did you get it working on Synology? Thanks very much.
- izacus 12y agoUhm, 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-compilation-with-go 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.
- dordoka 12y agoThanks izacus for sharing!
- fab13n 12y agoI would be interested by a more in-depth how-to too.
- dordoka 12y agoSynology has also just announced Docker support on DSM 5.2 beta [1], so we could also run Gogs as a docker image :) [1] https://www.synology.com/en-global/dsm/5.2beta/productivity https://www.synology.com/en-global/dsm/5.2beta/productivity