MSch / phoenix_pubsub

Distributed PubSub and Presence platform for the Phoenix Framework

Home Page:http://www.phoenixframework.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phoenix.PubSub

Distributed PubSub and Presence platform for the Phoenix Framework

Build Status

Installation

  1. Add phoenix_pubsub to your list of dependencies in mix.exs:

    def deps do [{:phoenix_pubsub, "~> 0.1.0"}] end

  2. Ensure phoenix_pubsub is started before your application:

    def application do [applications: [:phoenix_pubsub]] end

Testing

Testing by default spawns nodes internally for distributed tests. To run tests that do not require clustering, exclude the clustered tag:

$ mix test --exclude clustered

If you have issues running the clustered tests try running:

$ epmd -daemon

before running the tests.

About

Distributed PubSub and Presence platform for the Phoenix Framework

http://www.phoenixframework.org/

License:MIT License


Languages

Language:Elixir 100.0%