Local development support is provided for all platforms - Windows, macOS, Linux - by ServerStandAlone - a .NET Core MVC Web App, and the command line apps in the Data Utilites folder.
- Visual Studio 2019
- Your choice of SQL Server instances
- Your choice of PostGres instances
- Download dotnet SDK: https://dotnet.microsoft.com/download/dotnet-core/3.1
- Clone this repo
- Setup a database instance. Windows users can use a local SQL Server or PostGres. On macOS, setup a local PostGres instance.
- Add an
appsettings.Development.json
file. This overrides the settings in appsettings.json. And add a value for the MSS connection string. - Go to the ProvisionDb folder and run it with 'dotnet run' - this adds sample reference data.
- Run genWorkflows, genauth, genExposureKeySets as required.
- Go to the ServerStandAlone folder and run it with 'dotnet run'.
Run docker-compose up --build
in /docker
(cd docker && docker-compose up --build
in solution root)
ProvisionDb is executed automatically on a clean install before the server starts.
See the individual app folders for details.
The core team works on the repository in a private fork (for reasons of compliance with existing processes) and will share its work as often as possible. If you plan to make non-trivial changes, we recommend to open an issue beforehand where we can discuss your planned changes. This increases the chance that we might be able to use your contribution (or it avoids doing work if there are reasons why we wouldn't be able to use it).
Some parts of this application are inspired by the work on Private Tracer. You can find their license here.