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.19"}]
     end
  2. Optionally add jason to make Commanded.Serialization.JsonSerializer available:

     def deps do
       [{:jason, "~> 1.1"}]
     end
  3. Fetch mix dependencies:

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