Skip to content

Commit a50600a

Browse files
Start the storage emulator
1 parent 7648334 commit a50600a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ pipelines/package-lock.json
2020

2121
bicep/parameters.local.json
2222
local.settings.json
23-
23+
test/settings.example.dan.js

scripts/run-local.ps1

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44

55
$ErrorActionPreference = 'Stop'
66

7-
try {
7+
try {
8+
9+
# Start the storage emulator
10+
& "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" "start"
11+
812
# cd /dotnet
9-
Push-Location ( Join-Path $PSScriptRoot ../dotnet ) -StackName scripts
13+
Push-Location ( Join-Path $PSScriptRoot ../dotnet )
1014

1115
# Build and host SPA at http://127.0.0.1:8080/
1216
Start-Process pwsh { -c cd ../web/serverless-microservices-web && npm install && copy ../../test/settings.example.js ./public/js/settings.js && npm run serve -- --port 4280 }
@@ -36,5 +40,5 @@ try {
3640

3741
}
3842
finally {
39-
Pop-Location -StackName scripts
43+
Pop-Location
4044
}

0 commit comments

Comments
 (0)