Skip to content

Commit

Permalink
Adding missing documentation and example config
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Jun 29, 2016
1 parent e27803c commit 63949be
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@
This connector uses [the npm rethinkdb package](https://www.npmjs.com/package/rethinkdb). Please have a look there for detailed options.

##Configuration Options
```yaml
plugins:
storage:
name: rethinkdb
options:
host: ${RETHINKDB_HOST}
port: ${RETHINKDB_PORT}
database: 'someDb'
defaultTable: 'someTable'
splitChar: '/'
```
```javascript
{
//The host that RethinkDb is listening on
Expand Down
9 changes: 9 additions & 0 deletions example-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
plugins:
storage:
name: rethinkdb
options:
host: ${RETHINKDB_HOST}
port: 28015
database: 'someDb'
defaultTable: 'someTable'
splitChar: '/'

0 comments on commit 63949be

Please sign in to comment.