Skip to content

Commit 742a915

Browse files
sameerk27claude
andcommitted
docs(readme): fix install bugs blocking new users
- Correct clone URL (YOUR_ORG placeholder -> sameerk27/vigil365) - Remove non-existent 'dist' copy step (vite outDir already targets wwwroot) — this was failing for everyone trying the manual build - Production connection string Encrypt=True;TrustServerCertificate=True (match shipped appsettings) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 74a3efa commit 742a915

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ Grant **admin consent** for all of these:
105105
### 1. Clone and configure secrets
106106

107107
```powershell
108-
git clone https://github.com/YOUR_ORG/m365-security-dashboard.git
109-
cd m365-security-dashboard
108+
git clone https://github.com/sameerk27/vigil365.git
109+
cd vigil365
110110
111111
cd src\M365SecurityDashboard.Api
112112
dotnet user-secrets init
@@ -131,9 +131,11 @@ sqlcmd -S .\SQLEXPRESS -E -I -i .\database\schema.sql
131131
cd src\m365-security-dashboard-client
132132
npm install
133133
npm run build
134-
Copy-Item -Recurse -Force .\dist\* ..\M365SecurityDashboard.Api\wwwroot\
135134
```
136135

136+
> `npm run build` outputs directly into `..\M365SecurityDashboard.Api\wwwroot`
137+
> (configured via Vite `outDir`) — no copy step needed.
138+
137139
### 4. Run the API
138140

139141
```powershell
@@ -168,10 +170,9 @@ Frontend dev server: `http://localhost:5173` (proxies API calls to backend)
168170
## Production Deployment (Windows Service)
169171

170172
```powershell
171-
# 1. Build frontend
173+
# 1. Build frontend (outputs straight into the API's wwwroot)
172174
cd src\m365-security-dashboard-client
173175
npm install && npm run build
174-
Copy-Item -Recurse -Force .\dist\* ..\M365SecurityDashboard.Api\wwwroot\
175176
176177
# 2. Publish API
177178
cd ..\M365SecurityDashboard.Api
@@ -192,7 +193,7 @@ sc.exe start M365SecurityDashboard
192193
```json
193194
{
194195
"ConnectionStrings": {
195-
"DefaultConnection": "Server=.\\SQLEXPRESS;Database=M365SecurityDashboard;Trusted_Connection=True;Encrypt=False"
196+
"DefaultConnection": "Server=.\\SQLEXPRESS;Database=M365SecurityDashboard;Trusted_Connection=True;Encrypt=True;TrustServerCertificate=True"
196197
},
197198
"Graph": {
198199
"TenantId": "YOUR_TENANT_ID",

0 commit comments

Comments
 (0)