Skip to content

spk (Synology package) to install gogs into Synology NAS

License

Notifications You must be signed in to change notification settings

alexandregz/gogs-spk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

spk (Synology package) to install gogs into Synology NAS

Resources

License

Stars

Watchers

Forks

Packages

No packages published