Skip to content

Commit

Permalink
Minor markdown formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
slashdotdash committed Oct 2, 2017
1 parent 87157f0 commit 0e43fb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions guides/Cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ EventStore supports running on a cluster of nodes. It uses the [Swarm](https://h

## Running on a cluster

1. Add `:swarm` as a dependency in your `mix.exs` file:
1. Add `:swarm` as a dependency in your `mix.exs` file:

```elixir
defp deps do
Expand All @@ -14,20 +14,20 @@ EventStore supports running on a cluster of nodes. It uses the [Swarm](https://h
end
```

2. Fetch the dependencies:
2. Fetch the dependencies:

```console
$ mix deps.get
```

3. Configure the EventStore to use the `:distributed` registry in the environment config (e.g. `config/config.exs`):
3. Configure the EventStore to use the `:distributed` registry in the environment config (e.g. `config/config.exs`):

```elixir
config :eventstore,
registry: :distributed
```

4. Swarm must be configured to use the `Swarm.Distribution.StaticQuorumRing` distribution strategy:
4. Swarm must be configured to use the `Swarm.Distribution.StaticQuorumRing` distribution strategy:

```elixir
config :swarm,
Expand Down

0 comments on commit 0e43fb0

Please sign in to comment.