Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.63 KB

HOW_TO_BUILD_SERVER_SIDE.md

File metadata and controls

37 lines (29 loc) · 1.63 KB

Step by step for server side development

1. Requirements

  • Visual Studio 2019
    • feature develop Azure Function. (doc en-us / ja-jp)
  • Cosmos DB local emulator (doc en-us / ja-jp)
  • Azure Storage emulator (doc en-us / ja-jp)

2. clone

any thing.

3. open solution using Visual studio

  • Covid19Radar.Functions.sln

4. local.settings.json

  • Copy from local.settings.json.example to local.settings.json
  • Edit configurations for local
{
    "IsEncrypted": false,
    "Values": {
        "AzureWebJobsStorage": "UseDevelopmentStorage=true", // Do not change. for Storage Emulator
        "FUNCTIONS_WORKER_RUNTIME": "dotnet",                // Do not change.
        "COSMOS_ENDPOINT_URI": "https://localhost:8081",     // Do not change. for Cosmos DB Emulator
        "COSMOS_PRIMARY_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
                                                             // Do not change if not change key
        "COSMOS_DATABASE_ID": "Example",                     // Do not change.
        "COSMOS_AUTO_GENERATE": true                         // Do not change.
    }
}

4. build and Debug

Ctrl + Alt + B / F5 Key