switch to TOML config and export republisher feed manifests
This commit is contained in:
parent
98dcea4d7e
commit
897af2872c
17 changed files with 832 additions and 324 deletions
20
demo/README.md
Normal file
20
demo/README.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Demo
|
||||
|
||||
This directory shows the TOML runtime-config layout for `pygea`.
|
||||
|
||||
## Local Run
|
||||
|
||||
From the repo root:
|
||||
|
||||
```shell
|
||||
uv run pygea --config demo/pygea.toml
|
||||
```
|
||||
|
||||
Because `output_directory` in [`demo/pygea.toml`](/home/abel/src/gitlab.com/guardianproject-ops/pygea/demo/pygea.toml) is relative, output is written under `demo/feed/`.
|
||||
|
||||
## Files
|
||||
|
||||
- `pygea.toml`: example runtime config with domain, feed definitions, runtime options, and output paths
|
||||
|
||||
After a successful run, `demo/feed/manifest.toml` will contain `[[feeds]]` entries
|
||||
with absolute `file://` URLs pointing at the generated `rss.xml` files.
|
||||
Loading…
Add table
Add a link
Reference in a new issue