Commanded Swarm registry can be installed from hex as follows.
-
Add
commanded_swarm_registry
to your list of dependencies inmix.exs
:def deps do [{:commanded_swarm_registry, "~> 1.0"}] end
-
Fetch mix dependencies:
mix deps.get
-
Configure your Commanded application to use the Swarm registry (e.g.
config/config.exs
):config :commanded, registry: Commanded.Registration.SwarmRegistry