diff --git a/README.md b/README.md index 6bf868d..3722f82 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,24 @@ Create a superuser account ``` +### Repository Quota Updates + +The repository quotas in the UI are updated after each backup. +To update the quota during an operation the `update_used_quota` management command can be executed on a regular basis. + +There are example configs for systemd-timers in `contrib/communitybackup-quota-update.service` and `contrib/communitybackup-quota-update.timer`. Adjust the paths and the timers to your needs. + + +## Custom pages + +Some pages are specific to your installation. E.g. an imprint. + +Those files are markdown files that are rendered as HTML. You have to supply them and put them into the `MARKDOWN_PAGE_DIR`. + +The following files are expected: + +* `imprint.md` with your imprint information. + ## Settings ### BACKUP_USER @@ -120,3 +138,41 @@ The secret key used by django for session cookies and other things. ### DEBUG Django debug setting. + +### MARKDOWN_PAGE_DIR + +`MARKDOWN_PAGE_DIR` is the directory where customized markdown files are put. This directory is required. + +### BACKUP_MANAGE_PY + +`BACKUP_MANAGE_PY` is the command to run the `manage.py` file, including e.g. a Python interpreter, venv, etc. This must be a `pathlib.Path` + +### ADDITIONAL_FOOTER_NAV_ITEMS + +`ADDITIONAL_FOOTER_NAV_ITEMS` allows you to add additional links to the footer. This is a `list[str]`. Each item gets rendered as is into a `