microsoft / copilot-camp

Hands-on labs for extending Copilot for Microsoft 365 and building custom Copilotsop
MIT License
71 stars 21 forks source link

[Lab E2 Exercise 3 Step 2 & Lab 6 Exercise 7 Step 3] Storage Emulator Explanation #255

Closed freistli closed 1 month ago

freistli commented 2 months ago

Storage Explorer doesn't ship with an emulator. Developer needs to download one. Azurite is recommended. We can refer to: https://learn.microsoft.com/en-us/azure/storage/common/storage-explorer-emulators

Basically to use Emulator with Storage Explorer, we can:

  1. Install Storage Explorer
  2. Install Azurite
  3. Run Azurite
  4. View emulator storage in Storage Explorer

Another thing is ensure no service conflicts with the ports using by Storage Emulator (Azurite). Can use "netstat -ano > 1.txt" to quickly confirm if any ports cannot be listened.

andrehe001 commented 2 months ago

we could add the link to Azurite as the above link does not have a link. https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azurite?tabs=visual-studio-code%2Cblob-storage

BobGerman commented 1 month ago

Azureite is installed as an npm package, and is handled when the user does an npm install. I will add a note about this but an explicit Azurite install is not required...

BobGerman commented 1 month ago

netstat -ano > 1.txt

Nice idea to include this - does this work on both PC and Mac?

BobGerman commented 1 month ago

Fixed in https://github.com/microsoft/copilot-camp/pull/329 Thanks for reporting!