Skip to content

Commit fe6b1a8

Browse files
Copilotkamilbaczek
andcommitted
Update README to reflect Aspire usage instead of Docker Compose
Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
1 parent de6f827 commit fe6b1a8

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

Chapter-2-modules-separation/README.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,16 @@ to download it from the official Microsoft website.
138138

139139
=== Run locally
140140

141-
The Fitnet application requires Docker to run properly.
141+
The Fitnet application uses .NET Aspire for orchestration.
142142

143-
There are only 3 steps you need to start the application:
143+
There are only 2 steps you need to start the application:
144144

145145
1. Make sure that you are in `/Src` directory.
146-
2. Run `docker-compose build` to build the image of the application.
147-
3. Run `docker-compose up` to start the application. In the meantime it will also start Postgres inside container.
146+
2. Run `dotnet run --project Fitnet.AppHost` to start the application. This will automatically start PostgreSQL container and the Fitnet application, providing an observability dashboard.
148147

149-
The application runs on port `:8080`. Please navigate to http://localhost:8080 in your browser or http://localhost:8080/swagger/index.html to explore the API.
148+
The application runs on a dynamically assigned port. Check the Aspire dashboard (which will open automatically in your browser) to see the application URL and access the Swagger UI.
150149

151-
That's it! You should now be able to run the application using either one of the above. :thumbsup:
150+
That's it! You should now be able to run the application. The Aspire dashboard provides real-time monitoring and links to all services. :thumbsup:
152151

153152
=== How to run Integration Tests?
154153
To run the integration tests go to a module integration tests (`SelectedModule.IntegrationTests`) and run using either the command:

0 commit comments

Comments
 (0)