Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Removed sudo from gem install #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ A Ruby implementation of Command-Query Responsibility Segregation (CQRS) with Ev

Dependencies are managed using [Bundler](http://gembundler.com/).

$ sudo gem install bundler
$ gem install bundler

Install all of the required gems for this application

$ sudo bundle install
$ bundle install

## Specs

Expand Down Expand Up @@ -40,12 +40,12 @@ such as `RegisterCompanyCommand`
- validates command
- routes command to registered handler (there can be only one handler per command)

###Command Handler
###Command Handler
such as `RegisterCompanyHandler`

- loads corresponding aggregate root (using domain repository)
- executes action on aggregate root

###Aggregate Roots
such as `Company`

Expand Down Expand Up @@ -80,4 +80,4 @@ such as `CompanyRegisteredHandler`
- reconstitutes aggregate roots from events (from serialised JSON)
- currently two adapters: ActiveRecord and in memory (for testing)
- adapter interface is 2 methods: `find(guid)` and `save(aggregate_root)`
- could be extended to use a NoSQL store
- could be extended to use a NoSQL store