Name: phoenix_pubsub
Owner: phoenixframework
Description: Distributed PubSub and Presence platform for the Phoenix Framework
Created: 2015-11-10 13:51:07.0
Updated: 2018-05-22 20:34:21.0
Pushed: 2018-04-19 19:49:32.0
Homepage: http://www.phoenixframework.org/
Size: 278
Language: Elixir
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Distributed PubSub and Presence platform for the Phoenix Framework
mix.exs
:deps do
hoenix_pubsub, "~> 1.0"}]
application do
lications: [:phoenix_pubsub]]
odule MyApp do
e Application
f start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
supervisor(Phoenix.PubSub.PG2, [MyApp.PubSub, []])
]
opts = [strategy: :one_for_one, name: MyApp.Supervisor]
Supervisor.start_link(children, opts)
d
Testing by default spawns nodes internally for distributed tests.
To run tests that do not require clustering, exclude the clustered
tag:
x test --exclude clustered
If you have issues running the clustered tests try running:
md -daemon
before running the tests.