An open API service indexing awesome lists of open source software.

https://github.com/pdevito3/oncolimslite


https://github.com/pdevito3/oncolimslite

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# OncoLimsLite

This project was created with [Craftsman](https://github.com/pdevito3/craftsman).

## Get Started

Go to your solution directory:

```shell
cd OncoLimsLite
```

Run your solution:

```shell
dotnet run --project YourBoundedContextName.WebApi
```

## Running Integration Tests
To run integration tests:

1. Ensure that you have docker installed.
2. Go to your src directory for the bounded context that you want to test.
3. Confirm that you have migrations in your infrastructure project. If not you can add them by doing the following:
1. Set an environment variable. It doesn't matter what that environment name is for these purposes.
- Powershell: `$Env:ASPNETCORE_ENVIRONMENT = "IntegrationTesting"`
- Bash: export `ASPNETCORE_ENVIRONMENT = IntegrationTesting`
2. Run a Migration:`dotnet ef migrations add "InitialMigration" --project YourBoundedContextName.Infrastructure --startup-project YourBoundedContextName.WebApi --output-dir Migrations`
4. Run the tests. They will take some time on the first run in the last 24 hours in order to set up the docker configuration.