Skip to content

Commit

Permalink
[docs] Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeck committed Sep 20, 2012
1 parent c54b678 commit 724a483
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Flatiron-REPL

## Allow your app to get a repl easily

```javascript
app.use(require('flatiron-repl'), {
port: 1337,
whitelist: [
'127.0.0.1',
{address:'10.0.0.1', port: '777'}
]
});
```

## Client executable included

```bash
rrepl 1337
```

And once we are in the REPL

```javascript
> app.config.get('database:url')
'127.0.0.1:5984'
```

0 comments on commit 724a483

Please sign in to comment.