Welcome to the main branch of this repo.
Test coverage | Build status |
---|---|
Please see the Glossary for descriptions of some keywords we'll be using. Also please see the Common commands for some common git commands.
You may need to get permission to install the git command line application for Windows before you can perform a lot of these actions. If you would prefer, you can install the GitHub Desktop application - this will wrap all of the git CLI commands in a UI.
This repo has some GitHub specific files (in the .github directory) which are designed to make things a little easier to manage from an infrastructure point of view. These files form the basis of some basic DevOps practises. Please note that by default this directory might be hidden from view, as it is known as a "dot directory" and by default these folders are hidden from view.
A number of directories have been created in this repo. These directories represent the standard layout for RJJ-based projects.
Prior to this version of the repo, there was a "Tasks" section of the readme. This section has been deleted (though recoverable in source control if we need it), as the tasks have been completed.
You will require the EF Core tools: dotnet tool install --global dotnet-ef
Populating the database is a little janky at the moment (as of June 3rd, 2023):
- open a terminal at
src/Invoice_Gen.Domain
dotnet ef database update
to apply any migrations- an
invoiceDatabase.db
file will be created - copy this to
src/Invoice_Gen.WebApi
- run the application
- open a terminal at
src/Invoice_Gen.Domain
- run
dotnet ef migrations add {name}
where "{name}" is the name of your migration - a Migrations folder will be present and will contain the DB migration