Skip to content

Commit

Permalink
update docker-compose to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
martyn-w committed Aug 9, 2024
1 parent c4dd4f0 commit daba17f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: dotnet build --configuration Release --no-restore /warnaserror

- name: Spin Up Stack
run: docker-compose up -d
run: docker compose up -d

- name: Test
run: dotnet test --no-restore --verbosity normal
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: dotnet restore

- name: Spin Up Stack
run: docker-compose up -d
run: docker compose up -d

- name: SonarCloud
env:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ When the client is configured to point to the API, we need to ensure it uses the

The API is an ASP.NET Core web application; to get up and running clone the repository and open `GetIntoTeachingApi.sln` in Visual Studio.

You will need to set up the environment before booting up the dependent services in Docker with `docker-compose up`.
You will need to set up the environment before booting up the dependent services in Docker with `docker compose up`.

When the application runs in development it will open the Swagger documentation by default (the development shared secret for the admin client is `secret-admin`).

Expand All @@ -101,13 +101,13 @@ Quick start steps:
- `az login`
- `make setup-local-env`
- Set properties of the created env.local to "Always copy"
- `docker-compose up`
- `docker compose up`
- Run the application in Visual Studio
- Open the Swagger UI at `/swagger/index/html` or view the job queue at `/hangfire`

### Building and testing locally

This project is known to run in Mono, Microsoft Visual Studio and JetBrains Rider, including on a macos platform. The project must be built for .NET version 7.0. When running locally, be sure to start the docker-compose container prior to running the project.
This project is known to run in Mono, Microsoft Visual Studio and JetBrains Rider, including on a macos platform. The project must be built for .NET version 7.0. When running locally, be sure to start the docker compose container prior to running the project.

Configure a local instance of the Get Into Teaching application to connect to a local instance of the API by setting the application's environment variables to match the API, e.g.

Expand Down

0 comments on commit daba17f

Please sign in to comment.