-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add README_dev-md * chore: move -f flag to correct place * chore: add prerquisite for creating the docker volumes * chore: fix docker compose up command * chore: change order of dotnet run commands --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c588039
commit 16a5bc1
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Prerequisites | ||
|
||
1. Download and install [Docker Desktop](https://www.docker.com/products/docker-desktop) | ||
2. Download and install the latest version of the [.NET SDK](https://dotnet.microsoft.com/en-us/download) | ||
3. Use Docker Desktop to create Docker volumes for the database and the blob storage. You can do this via the Docker Desktop UI or by running the following commands: | ||
```bash | ||
docker volume create --name=postgres-volume | ||
docker volume create --name=azure-storage-emulator-volume | ||
``` | ||
|
||
# How to run | ||
|
||
1. Start the infrastructure by running the following command from the root directory of the repository: | ||
```bash | ||
docker compose -f ./docker-compose/docker-compose.yml up -d | ||
``` | ||
2. Run the application by running the following commands from the root directory of the repository (each in its own terminal): | ||
|
||
```bash | ||
dotnet run --project ./Applications/ConsumerApi/src/ConsumerApi.csproj | ||
dotnet run --project ./Applications/AdminApi/src/AdminApi/AdminApi.csproj | ||
dotnet run --project ./Applications/EventHandlerService/src/EventHandlerService/EventHandlerService.csproj | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters