fix: commands to update theme
This commit is contained in:
1 file changed
+1
-2
@@ -71,12 +71,11 @@ cd /opt/gitea && docker compose up -d
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
git -C /opt/gitea/theme pull
|
git -C /opt/gitea/theme pull
|
||||||
docker restart server
|
docker restart gitea
|
||||||
```
|
```
|
||||||
|
|
||||||
Gitea caches templates in production mode, so you need to restart the container for `.tmpl` changes to take effect.
|
Gitea caches templates in production mode, so you need to restart the container for `.tmpl` changes to take effect.
|
||||||
CSS and images are loaded directly from disk. Restarting the container is safe, and you may need to hard refresh your browser.
|
CSS and images are loaded directly from disk. Restarting the container is safe, and you may need to hard refresh your browser.
|
||||||
The container is named `gitea`, while the compose service is called `server`.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user