Skip to content

Commit f366197

Browse files
author
Sergio García Prado
committed
ISSUE #98
* Update `README.md`.
1 parent f990278 commit f366197

File tree

1 file changed

+22
-3
lines changed
  • packages/plugins/minos-database-aiopg

1 file changed

+22
-3
lines changed

packages/plugins/minos-database-aiopg/README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,28 @@ Install the dependency:
2222
pip install minos-database-aiopg
2323
```
2424

25-
Modify `config.yml` file:
26-
27-
[TODO]
25+
Set the database client on the `config.yml` file:
26+
27+
```yaml
28+
...
29+
databases:
30+
default:
31+
client: minos.plugins.aiopg.AiopgDatabaseClient
32+
database: order_db
33+
user: minos
34+
password: min0s
35+
host: localhost
36+
port: 5432
37+
query:
38+
client: minos.plugins.aiopg.AiopgDatabaseClient
39+
database: order_query_db
40+
user: minos
41+
password: min0s
42+
host: localhost
43+
port: 5432
44+
...
45+
...
46+
```
2847

2948
## Documentation
3049

0 commit comments

Comments
 (0)