Update 'readme.md'
This commit is contained in:
14
readme.md
14
readme.md
@@ -8,13 +8,15 @@ gitea is setup as a sevice as described in `https://docs.gitea.io/en-us/install-
|
||||
## Adding as new theme
|
||||
|
||||
### 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
|
||||
```
|
||||
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
|
||||
* Remove old custom css/js
|
||||
```
|
||||
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
|
||||
* Download the repo to the opt directory
|
||||
@@ -51,6 +53,10 @@ mkdir -p /var/lib/gitea/custom/public/css/
|
||||
```
|
||||
|
||||
### 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
|
||||
```
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user