docs: update README with config example
This commit is contained in:
parent
0a7cf96211
commit
e2d6fd7d02
20
README.md
20
README.md
|
|
@ -14,7 +14,25 @@ go build .
|
||||||
|
|
||||||
## Configuración
|
## 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.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue