docs: update README with config example

This commit is contained in:
admin 2026-04-08 14:40:49 +02:00
parent 0a7cf96211
commit e2d6fd7d02
1 changed files with 19 additions and 1 deletions

View File

@ -14,7 +14,25 @@ go build .
## Configuración
Editar `config.yml` para configurar el servidor y VeriFactu.
Editar `config.yml`:
```yaml
server:
port: 6789
verifactu:
environment: test
certificates:
storage_path: ./certs/
crypto:
keys_path: ./keys/
name: "VeriFactu API"
email: "admin@example.com"
```
Las claves RSA se generan automáticamente en `./keys/` si no existen.
---