Update README

This commit is contained in:
Tristan Hils 2025-04-07 17:05:46 -04:00
parent 0f808702c6
commit cb629fbd5d
No known key found for this signature in database

View file

@ -2,13 +2,21 @@
The pieces that make up the git.starcat.systems Forgejo server. The pieces that make up the git.starcat.systems Forgejo server.
Contents: ## Contents
- `forgejo`: - `forgejo`:
- `app_ini` > `app.ini`: the Forgejo configuration file - `app_ini` > `app.ini`: the Forgejo configuration file
- `custom`: customizations/tweaks made to Forgejo's appearance - `custom`: customizations/tweaks made to Forgejo's appearance
- `caddy`: - `caddy`:
- `Caddyfile`: the Caddy server configuration (reverse proxies Forgejo) - `Caddyfile`: the Caddy server configuration (reverse proxies Forgejo)
## Making changes to Forgejo
1. Stop Forgejo: `sudo systemctl stop forgejo.service`
2. Upload new images/files (SFTP is probably easiest)
3. Chdir to the destination: `cd /var/lib/forgejo/custom/public/assets/img`
4. Change file permissions: `chown git:git apple-touch-icon.png favicon.png favicon.svg logo.png logo.svg`
5. Start Forgejo: `sudo systemctl start forgejo.service`
6. Wait for Forgejo to start, then refresh the site and make sure that changes flow through. You may have to give it a bit and/or clear your cache.
> [!important] > [!important]
> **This repo is mirrored** between https://git.starcat.systems/starcat-infra/git-server and https://gitlab.com/starcatsys-mirror/starcat-infra/git-server. The version hosted on GitLab is a **read-only** version. Please use https://git.starcat.systems/starcat-infra/git-server for all interaction. > **This repo is mirrored** between https://git.starcat.systems/starcat-infra/git-server and https://gitlab.com/starcatsys-mirror/starcat-infra/git-server. The version hosted on GitLab is a **read-only** version. Please use https://git.starcat.systems/starcat-infra/git-server for all interaction.