Plan Dashboard local dev
Bootstrap scripts live in dca-plan-dashboard-local-dev (not in this skills repo).
- Default clone:
C:\repos\dca-plan-dashboard-local-dev - DCA monorepo:
C:\repos\DCA(or setDCA_ROOT/config/dca-root.local.jsonin the bootstrap repo)
Agent workflow
- Confirm
DCA_ROOTpoints at the DCA clone (config/dca-root.local.jsonor env var in the bootstrap repo). - Confirm
config/local.secrets.jsonexists in the bootstrap repo withCacheClient.RedisConnectionString(not committed). - Run stop → bootstrap → start from the bootstrap repo:
cd C:\repos\dca-plan-dashboard-local-dev
.\scripts\Stop-PlanDashboardDev.ps1
.\scripts\Bootstrap-PlanDashboardDev.ps1
.\scripts\Start-PlanDashboardDev.ps1
- Verify:
.\scripts\Test-PlanDashboardDev.ps1 - Browser:
http://localhost:5099/sponsor/home?p=p006114
Visual Studio debugging
- User must Stop terminal-started apps before F5 (
Stop-PlanDashboardDev.ps1in bootstrap repo). - Solution configuration: Debug | Any CPU — not Release (avoids “debugging a Release build”).
- Clean + Rebuild after switching to Debug.
- Multi-start:
MFE\DCA.sln→ Plan.Dashboard.UI (With API); mergeconfig/Plan.Dashboard.UI.WithApi.slnLaunch.fragment.jsonfrom the bootstrap repo locally to add Plan.Dashboard.Api.
Do not
- Commit
appsettings.Development.jsonorlocal.secrets.jsoninto DCA. - Run terminal
Start-PlanDashboardDevand Visual Studio F5 on the same ports.
Reference
Prerequisites, ports, and Redis onboarding: README in the bootstrap repo (dca-plan-dashboard-local-dev).