Skip to content
Permalink
Browse files

Add README section on configuring the database connection

  • Loading branch information...
linkyndy committed Jun 8, 2019
1 parent e1d3665 commit 932223c29591330f5400211c3fbfde068b495f3a
Showing with 10 additions and 0 deletions.
  1. +10 −0 README.md
@@ -72,6 +72,16 @@ create_tables()
create_indexes()
```

### Configuring database connection

Setups are widely different, so here's how you need to configure remodel in order to connect to your RethinkDB database:

```python
from remodel.connection import pool
pool.configure(host='localhost', port=28015, auth_key=None, user='admin', password='', db='test')
```

### Relations

#### Has one / Belongs to

0 comments on commit 932223c

Please sign in to comment.
You can’t perform that action at this time.