docs: mention theming templates

This commit is contained in:
jabuxas 2024-09-19 10:30:28 -03:00
parent 39c6a1f570
commit 92dd395f34

View File

@ -10,7 +10,7 @@ note: this is a project made for learning purposes, you should use other more ma
- [installing with docker](#docker) - [installing with docker](#docker)
- [installing manually](#manual) - [installing manually](#manual)
- [uploading files](#uploading) - [uploading files](#uploading)
- [home page](#homepage) - [theming](#theming)
- [docs](#docs) - [docs](#docs)
- [todo list](#todo) - [todo list](#todo)
@ -44,10 +44,11 @@ docker compose up -d # might be docker-compose depending on distro
curl -F "file=@/path/to/file" -H "X-Auth: "$(cat /path/to/.key) http://localhost:3235/ curl -F "file=@/path/to/file" -H "X-Auth: "$(cat /path/to/.key) http://localhost:3235/
``` ```
## homepage ## theming
- there is an example homepage in `static/` you can edit directly, which the server will serve automatically - there is an example homepage in `static/` you can edit directly, which the server will serve automatically
- if running with docker, it's also possible to override `/static` inside the container with your own page. - if running with docker, it's also possible to override `/static` inside the container with your own page.
- same thing with templates in `templates/`
- it is preferred to use `dev/` for that reason, since it is git-ignored and that way makes it easier if wanting to update regularly without making changes to the tree - it is preferred to use `dev/` for that reason, since it is git-ignored and that way makes it easier if wanting to update regularly without making changes to the tree
## docs ## docs