Update 'readme.md'

This commit is contained in:
2020-12-08 01:00:07 +00:00
parent c5158918c4
commit c3afa3d40d

View File

@@ -8,13 +8,15 @@ gitea is setup as a sevice as described in `https://docs.gitea.io/en-us/install-
## Adding as new theme ## Adding as new theme
### Prepare ### Prepare
Create /public/css/ in the custom directory for gitea (default: /var/lib/gitea/custom/) * Create /public/css/ in the custom directory for gitea (default: /var/lib/gitea/custom/)
``` ```
mkdir -p /var/lib/gitea/custom/public/css/ /opt/gitea_blue-theme mkdir -p /var/lib/gitea/custom/public/css/ /opt/gitea_blue-theme
``` ```
Remove old custom css/js * Remove old custom css/js
rm -rf /opt/gitea_blue-theme/custom_public_bin/js ```
rm -rf /opt/gitea_blue-theme/custom_public_bin/css mv /opt/gitea_blue-theme/custom_public_bin/js /opt/gitea_blue-theme/custom_public_bin/js.old
mv /opt/gitea_blue-theme/custom_public_bin/css /opt/gitea_blue-theme/custom_public_bin/css.old
```
### Install ### Install
* Download the repo to the opt directory * Download the repo to the opt directory
@@ -51,6 +53,10 @@ mkdir -p /var/lib/gitea/custom/public/css/
``` ```
### Install ### Install
* cleanup if old version was installed
```
mv /var/lib/gitea/custom/public/css/theme-arc-green.css /var/lib/gitea/custom/public/css/theme-arc-green.css.old
```
* Download the blue theme to the custom directory * Download the blue theme to the custom directory
``` ```
wget https://git.bprieshof.nl/DarkTheme/Gitea-Arc_blue-Theme/custom_public_bin/css/theme-arc-blue.css -O /var/lib/gitea/custom/public/css/theme-arc-green.css wget https://git.bprieshof.nl/DarkTheme/Gitea-Arc_blue-Theme/custom_public_bin/css/theme-arc-blue.css -O /var/lib/gitea/custom/public/css/theme-arc-green.css