1
0
Fork 0
mirror of https://github.com/SunRed/theme-dark-arc-gitea.git synced 2024-12-04 14:08:12 +01:00

initial-commit

This commit is contained in:
Jieiku 2022-04-20 16:17:13 -07:00
parent a532fa4eb7
commit e28f9da5c1

View file

@ -46,12 +46,39 @@ Set ownership of your $GITEA_CUSTOM directory and files, I set ownership to git
## Restart gitea service
sudo systemctl restart gitea
*or*
sudo reboot
## Notes:
The theme may automatically be active now, but if not click your avatar in top right, click settings, click appearance tab, select the theme and click update theme button.
## Notes
### assets:
`/assets` is simply a POINTER to `$GITEA_CUSTOM/public` you should NOT actually create an assets directory.
So for me my directory structure is:
`/var/lib/gitea/custom/public/css/theme-dark-arc.css`
but if you view the page source in a web browser you will see:
`/assets/css/index.css?v=1b37ebcaa3151193e91d19ed55808a12`
They are one and the same file.
### Set custom path when running gitea as a service by setting the `config` and `custom-path` values yourself:
sudo nano /etc/systemd/system/gitea.service
ExecStart=/usr/local/bin/gitea web --custom-path /var/lib/gitea/custom --config /var/lib/gitea/custom/conf/app.ini
### Organizations:
I created a feature request for a way to disable organizations because I don't use them.