Skip to content

Commit

Permalink
updated project numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
erikshafer committed May 23, 2024
1 parent ca56545 commit 7107ba6
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,59 +47,57 @@ Ideally on my birthday, May 22nd!

## 🏃 Running

### 0️⃣ Project: StudentEnrollment00
### 0️⃣1️⃣ StudentEnrollment01.InMemory

#### AKA the in-memory event store version

Like the other programs that are .NET console application, the database is a glorified key-value store that's in-memory.

To run it, enter the project directory through your shell's associated Change Directory (`cd`) command from the solution root, such as:

```bash
cd .\StudentEnrollment01
```

and then build the project

```bash
cd .\StudentEnrollment01.InMemory
dotnet build
```

and run it

```bash
dotnet run
```

Alternatively, you can do all this from the solution's root by targeting the project with `--project` and `run` it immediately, such as:

```bash
dotnet run --project .\StudentEnrollment00\StudentEnrollment00.csproj
dotnet run --project .\StudentEnrollment01.InMemory\StudentEnrollment01.InMemory.csproj
```

### 1️⃣ Project: StudentEnrollment01
### 0️⃣2️⃣ StudentEnrollment02.Esdb

#### AKA with EventStoreDB

While still a .NET console app, we're now going to use the Event Store database. So be sure to launch EventStoreDB through Docker. With a terminal / command prompt execute:

```bash
docker-compose up
```

**NOTE**: You will need to have ESDB running via Docker for the third (03) project as well.

Like before, you can change directory into the project or run it from the root.

Run the console application of your choice, change direction to that particular project directory and then execute:

```bash
cd .\StudentEnrollment01
cd .\StudentEnrollment02.Esdb
dotnet build
dotnet run
```

Or alternatively:

```bash
dotnet run --project .\StudentEnrollment01\StudentEnrollment01.csproj
dotnet run --project .\StudentEnrollment02.Esdb\StudentEnrollment02.Esdb.csproj
```

### 2️⃣ TBD
### 0️⃣3️⃣ StudentEnrollment03.Esdb

#### AKA with EventStoreDB, plus a few changes

Instructions will go here, but will basically be the same as above!

Expand Down

0 comments on commit 7107ba6

Please sign in to comment.