Skip to content

Commit

Permalink
Updated main exerices README
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardudycz committed Mar 13, 2022
1 parent eaceb1c commit d0413bb
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Sample/EventStoreDB/ECommerce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Sample is showing the typical flow of the Event Sourcing app with [EventStoreDB](https://developers.eventstore.com).

## Prerequisities
## Prerequisites

1. Install git - https://git-scm.com/downloads.
2. Install .NET Core 6.0 - https://dotnet.microsoft.com/download/dotnet/6.0.
Expand Down
2 changes: 1 addition & 1 deletion Sample/EventStoreDB/Simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ API integration tests for:
- [Confirming shopping cart](./ECommerce.Api.Tests/ShoppingCarts/Confirming/ConfirmShoppingCartTests.cs) as an example of updating an existing entity,


## Prerequisities
## Prerequisites

1. Install git - https://git-scm.com/downloads.
2. Install .NET Core 6.0 - https://dotnet.microsoft.com/download/dotnet/6.0.
Expand Down
2 changes: 1 addition & 1 deletion Sample/MeetingsManagement/Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build Your Own Event Store Self-Paced Kit

## Prerequisities
## Prerequisites

1. Install git - https://git-scm.com/downloads.
2. Install .NET 5 - https://dotnet.microsoft.com/download/dotnet/5.0.
Expand Down
2 changes: 1 addition & 1 deletion Workshops/BuildYourOwnEventStore/Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build Your Own Event Store Self-Paced Kit

## Prerequisities
## Prerequisites

1. Install git - https://git-scm.com/downloads.
2. Install .NET 6 - https://dotnet.microsoft.com/download/dotnet/6.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Run [docker-compose](../docker-compose.yml) script from the main workshop reposi
docker-compose up
```

After that you can use PG admin (IDE for Postgres) to see how tables and data look like. It's available at: http://localhost:5050.
After that you can use PG Admin (IDE for Postgres) to see how tables and data look like. It's available at: http://localhost:5050.
- Login: `admin@pgadmin.org`, Password: `admin`
- To connect to server click right mouse on Servers, then Register Server and use host: `postgres`, user: `postgres`, password: `Password12!`
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Run [docker-compose](../docker-compose.yml) script from the main workshop reposi
docker-compose up
```

After that you can use PG admin (IDE for Postgres) to see how tables and data look like. It's available at: http://localhost:5050.
After that you can use PG Admin (IDE for Postgres) to see how tables and data look like. It's available at: http://localhost:5050.
- Login: `admin@pgadmin.org`, Password: `admin`
- To connect to server click right mouse on Servers, then Register Server and use host: `postgres`, user: `postgres`, password: `Password12!`
33 changes: 28 additions & 5 deletions Workshops/IntroductionToEventSourcing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,32 @@
1. [Events definition](./01-EventsDefinition).
2. [Getting State from events](./02-GettingStateFromEvents).
3. Appending Events:
* [Marten](./03-AppendingEvents.Marten)
* [EventStoreDB](./04-AppendingEvents.EventStoreDB)
* [Marten](./03-AppendingEvents.Marten)
* [EventStoreDB](./04-AppendingEvents.EventStoreDB)
4. Getting State from events
* [Marten](./05-GettingStateFromEvents.Marten)
* [EventStoreDB](./06-GettingStateFromEvents.EventStoreDB)
5.
* [Marten](./05-GettingStateFromEvents.Marten)
* [EventStoreDB](./06-GettingStateFromEvents.EventStoreDB)
5. Business logic:
* [General](./07-BusinessLogic)
* [Marten](./08-BusinessLogic.Marten)
* [EventStoreDB](./09-BusinessLogic.EventStoreDB)

## Prerequisites

1. Install git - https://git-scm.com/downloads.
2. Install .NET Core 6.0 - https://dotnet.microsoft.com/download/dotnet/6.0.
3. Install Visual Studio 2022, Rider or VSCode.
4. Install docker - https://docs.docker.com/docker-for-windows/install/.
5. Open [Exercises.sln](./Exercises.sln) solution.

## Running

1. Run: `docker-compose up`.
2. Wait until all dockers got are downloaded and running.
3. You should automatically get:
- Postgres DB running for [Marten storage](https://martendb.io)
- PG Admin - IDE for postgres. Available at: http://localhost:5050.
- Login: `admin@pgadmin.org`, Password: `admin`
- To connect to server Use host: `postgres`, user: `postgres`, password: `Password12!
- EventStoreDB UI: http://localhost:2113/`
4. Open, build and run [Exercises.sln](./Exercises.sln) solution.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Run [docker-compose](../../docker-compose.yml) script from the main workshop rep
docker-compose up
```

After that you can use PG admin (IDE for Postgres) to see how tables and data look like. It's available at: http://localhost:5050.
After that you can use PG Admin (IDE for Postgres) to see how tables and data look like. It's available at: http://localhost:5050.
- Login: `admin@pgadmin.org`, Password: `admin`
- To connect to server click right mouse on Servers, then Register Server and use host: `postgres`, user: `postgres`, password: `Password12!`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ Run [docker-compose](../../docker-compose.yml) script from the main workshop rep
docker-compose up
```

After that you can use PG admin (IDE for Postgres) to see how tables and data look like. It's available at: http://localhost:5050.
After that you can use PG Admin (IDE for Postgres) to see how tables and data look like. It's available at: http://localhost:5050.
- Login: `admin@pgadmin.org`, Password: `admin`
- To connect to server click right mouse on Servers, then Register Server and use host: `postgres`, user: `postgres`, password: `Password12!`

0 comments on commit d0413bb

Please sign in to comment.