Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
foxminchan committed Jun 9, 2024
1 parent c67f887 commit cfb3989
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
"nuke"
],
"rollForward": false
},
"dotnet-stryker": {
"version": "4.0.6",
"commands": [
"dotnet-stryker"
],
"rollForward": false
}
}
}
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RookieShop is a .NET Core web application training project demonstrating Clean A
- [Mac, Linux, \& Windows without Visual Studio](#mac-linux--windows-without-visual-studio)
- [Setup tools and dependencies](#setup-tools-and-dependencies)
- [Setup Stripe webhook](#setup-stripe-webhook)
- [User secrets example](#user-secrets-example)
- [Running the application](#running-the-application)
- [Testing](#testing)
- [CI/CD](#cicd)
Expand Down Expand Up @@ -145,6 +146,26 @@ stripe login
stripe listen --forward-to https://localhost:9000/api/stripe
```

### User secrets example

```json
{
"Parameters": {
"SqlUser": "",
"SqlPassword": "",
"StripeApiKey": "",
"StripeWebhookSecret": "",
"EmailSecret": "",
"GoogleClientId": "",
"GoogleClientSecret": "",
"OpenAiKey": ""
},
"ConnectionStrings": {
"openai": "Key="
}
}
```

### Running the application

> [!WARNING]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
<PackageReference Include="Ardalis.HttpClientTestExtensions" />
</ItemGroup>

<ItemGroup>
<Content Include="xunit.runner.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\RookieShop.AppHost\RookieShop.AppHost.csproj" />
</ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions tests/RookieShop.FunctionalTests/xunit.runner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
"parallelizeAssembly": false,
"parallelizeTestCollections": true,
"shadowCopy": false
}

0 comments on commit cfb3989

Please sign in to comment.