https://github.com/amireh/pibi-realtime
Pibi realtime server using Faye and Redis.
https://github.com/amireh/pibi-realtime
Last synced: 3 months ago
JSON representation
Pibi realtime server using Faye and Redis.
- Host: GitHub
- URL: https://github.com/amireh/pibi-realtime
- Owner: amireh
- Created: 2014-08-02T08:31:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-05-28T04:58:10.000Z (about 1 year ago)
- Last Synced: 2024-12-28T14:52:04.816Z (5 months ago)
- Language: Ruby
- Size: 19.5 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pibi-Realtime
A Rack app mounting [Faye]() and communicating with [Pibi](https://github.com/amireh/pibi-rails) via Redis.
## Usage
Install the dependencies:
```bash
bundle install
```Check out `config/application.yml` for the available configuration
environment variables or see the table below.Run it:
```bash
bundle exec puma -p 9123
```## Configuration
Field | Default | Notes
--------------------------- | ------- | --------------------------------
PIBI_REDIS_CHANNEL | "pibi_realtime"
PIBI_REDIS_DB | 0
PIBI_REDIS_FAYE_DB | 1
PIBI_REDIS_HOST | "localhost"
PIBI_REDIS_ID | "pibi_realtime"
PIBI_REDIS_PASSWORD |
PIBI_REDIS_PORT | 6379
PIBI_REDIS_TIMEOUT | 5.0