spk (Synology package) to install gogs into Synology NAS
Switch branches/tags
Nothing to show
Clone or download
alexandregz Merge pull request #6 from davidmullerz/master
Backup and restore custom files in conf directory
Latest commit 0dfca19 Apr 26, 2017

README.md

gogs-spk

Gogs (Go Git Service) SPK package (Synology PacKages)

Install Gogs into a Synology NAS.

Requirements

this package, to see Gogs requirements check https://gogs.io

  • armv7 (Tested only with DS213j, Marvell Armada 370)
  • intel Atom D2700 (RS2414rp+)
  • intel Atom CE5335 (DS214 play)
  • MariaDB, SQLite
  • Git Server

Usage

Change Package Center -> Trust Level to Any Publisher and import manually the package from Manual install. Finally, install with Gogs web installation.

To use with another arch

Download the binary from https://gogs.io/docs/installation/install_from_binary, replace the content from 1_create_package/gogs directory and exec create_spk.sh:

alex@vostok:/Volumes/HD/Development/synology/gogs-spk(master)$ rm -rf 1_create_package/gogs/ && tar zxvf gogs_v0.9.13_linux_386.tar.gz -C 1_create_package/

$ sh create_spk.sh

Compiled from source

Suggested by hirakujira

GOOS=linux GOARCH=arm GOARM=7 go get -u github.com/gogits/gogs

Screenshots

Install

Install

Stopping

Desktop icon

Gogs screenshots https://github.com/gogits/gogs

ToDo

  • Don't force to use Git Server and MariaDB (PostgreSQL? Gogs ARM version haven't Sqlite/TiDB)
  • Support to archs (and DBs)
  • Don't use root user and create and use gogs user, if possible