Skip to content

Commit 0370d1b

Browse files
authored
Update README.md
1 parent 4d01a4c commit 0370d1b

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,27 +64,28 @@ Use these instructions to get the project up and running.
6464
You will need the following tools:
6565

6666
* [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/)
67-
* [.Net Core 2.2 or later](https://dotnet.microsoft.com/download/dotnet-core/2.2)
68-
* EF Core 2.2 or later
67+
* [.Net Core 3.1 or later](https://dotnet.microsoft.com/download/dotnet-core/3.1)
68+
* Docker Desktop
6969

7070
### Installing
7171
Follow these steps to get your development environment set up:
7272
1. Clone the repository
73-
2. At the root directory, restore required packages by running:
73+
2. At the root directory which include docker-compose.yml files, run below command:
7474
```csharp
75-
dotnet restore
76-
```
77-
3. Next, build the solution by running:
78-
```csharp
79-
dotnet build
75+
docker-compose -f docker-compose.yml -f docker-compose.override.yml upbuild
8076
```
81-
4. Next, within the AspnetRun.Web directory, launch the back end by running:
82-
```csharp
83-
dotnet run
84-
```
85-
5. Launch http://localhost:5400/ in your browser to view the Web UI.
86-
87-
If you have **Visual Studio** after cloning Open solution with your IDE, AspnetRun.Web should be the start-up project. Directly run this project on Visual Studio with **F5 or Ctrl+F5**. You will see index page of project, you can navigate product and category pages and you can perform crud operations on your browser.
77+
3. Wait for docker compose all microservices. That’s it!
78+
79+
4. You can launch microservices as below urls:
80+
* RabbitMQ -> http://localhost:15672/
81+
* Catalog API -> http://localhost:8000/swagger/index.html
82+
* Basket API -> http://localhost:8001/swagger/index.html
83+
* Order API -> http://localhost:8002/swagger/index.html
84+
* API Gateway -> http://localhost:7000/Order?username=swn
85+
* Web UI -> http://localhost:8003/
86+
87+
5. Launch http://localhost:8003/ in your browser to view the Web UI.
88+
You can use Web project in order to call microservices over API Gateway. When you checkout the basket you can follow queue record on RabbitMQ dashboard.
8889

8990
### Usage
9091
After cloning or downloading the sample you should be able to run it using an In Memory database immediately. The default configuration of Entity Framework Database is **"InMemoryDatabase"**.

0 commit comments

Comments
 (0)