Permalink
9ba23f1 Oct 26, 2018
2 contributors

Users who have contributed to this file

@slashdotdash @vasspilka
32 lines (21 sloc) 710 Bytes

Getting started

Commanded can be installed from hex as follows.

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

    def deps do
      [{:commanded, "~> 0.17"}]
    end
  2. Optionally add poison to make Commanded.Serialization.JsonSerializer available:

    def deps do
      [{:poison, "~> 3.1 or ~> 4.0"}]
    end
  3. Fetch mix dependencies:

    $ mix deps.get
  4. Configure one of the supported event stores by following the "Choosing an Event Store" guide.

Starting the Commanded application

The commanded application is automatically started for you once added to your application dependencies in mix.exs.