forked from sainnhe/gitea-themes
Fix installation path
This commit is contained in:
parent
d810451270
commit
2f2b76c074
@ -117,7 +117,7 @@ and `<gitea-container-name>` is the container name of your gitea instance that c
|
|||||||
Now execute the following command to install this theme:
|
Now execute the following command to install this theme:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo docker exec -u <run-user> <gitea-container-name> sh -c 'mkdir -p <custom-path>/public/css && curl --output-dir <custom-path>/public/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css'
|
sudo docker exec -u <run-user> <gitea-container-name> sh -c 'mkdir -p <custom-path>/public/assets/css && curl --output-dir <custom-path>/public/assets/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css'
|
||||||
```
|
```
|
||||||
|
|
||||||
Replace `<custom-path>` with the `CustomPath` in this command.
|
Replace `<custom-path>` with the `CustomPath` in this command.
|
||||||
@ -135,7 +135,7 @@ Restart Gitea instance to apply change.
|
|||||||
### If Gitea is not deployed via Docker
|
### If Gitea is not deployed via Docker
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir -p <custom-path>/public/css && curl --output-dir <custom-path>/public/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css
|
mkdir -p <custom-path>/public/assets/css && curl --output-dir <custom-path>/public/assets/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css
|
||||||
```
|
```
|
||||||
|
|
||||||
Where `<custom-path>` can be found via `gitea help`.
|
Where `<custom-path>` can be found via `gitea help`.
|
||||||
|
Loading…
Reference in New Issue
Block a user