1. download https://gogs.io/

  2. config custom/conf/app.ini

    custom/conf/app.ini

  3. run ./gogs web

  4. config linux autostart

    init.d/gogs