-
Run
docker-compose up
using thesrc/docker-compose.yml
file. -
Use the
mssql
extension for VS Code to connect to the in-container DB to run this script:CREATE DATABASE DispatchR
This script will create the database and prepare it for being accessed by the Entity Framework components to preload the database with sample data.
- F5 in VS Code to run the
DispatchR.API
and theDispatchR.Web
project simultaneously. - If you want to reset (or load-up for the first time) the sample data, hit the
/api/reset
URL to reload the database.
- Go back to the DispatchR UI and click the Step 1 button to load up the initial state.
- Click on the push pins.