# Gogs

Self hosted git repos, issue tracking and more. Think GitHub/GitLab but self hosted and lean.

## Inspiration / Further Reading

- [https://discuss.gogs.io/t/how-to-backup-restore-and-migrate/991](https://discuss.gogs.io/t/how-to-backup-restore-and-migrate/991)
- [https://blog.meinside.pe.kr/Gogs-on-Raspberry-Pi/](https://blog.meinside.pe.kr/Gogs-on-Raspberry-Pi/)

## Build/Install/Update/Run Scripts

Setup a generic script that'll auto update Gogs, build a container and launch it. You should only run this script at first launch and/or when you're looking for updates.

```FIXME : Update with wget/sed from repo```

## Run Gogs

Simply execute ```/root/docker/gogs/gogs.sh``` to update/run Gogs.

## Serving Via Caddy

```FIXME : Update with wget/sed from repo```

## Update Unbound

```FIXME : Update with wget/sed from repo```

## First Run / Finalize Setup

- Navigate to ```http://gogs-insecure.domain.tld:3000```
- Follow on-screen prompts for finalizing setup
  - Be sure to specify an admin user
- Login to ```https://gogs.domain.tld``` and enjoy
