19 lines
261 B
Markdown
19 lines
261 B
Markdown
|
# connect-backend-ruby
|
||
|
|
||
|
Example Ruby backend for Pgweb Connect feature
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
Install and run the backend:
|
||
|
|
||
|
```bash
|
||
|
bundle install
|
||
|
ruby main.rb
|
||
|
```
|
||
|
|
||
|
Configure pgweb:
|
||
|
|
||
|
```bash
|
||
|
pgweb --sessions --connect-backend=http://localhost:4567 --connect-token=test
|
||
|
```
|