Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (20 loc) · 1.18 KB

run-service-locally.md

File metadata and controls

30 lines (20 loc) · 1.18 KB

Hosting service for local development

Pre-requisites

Setting Up

Create local.settings.json in src/SpectabisService/ with contents of code block below. Make sure to replace <giantbomb-key> with a valid GiantBomb API key.

{
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "ApiKey_GiantBomb": "<giantbomb-key>"
}

Alternatively, provide them as environment variables.

Running

You can run integration tests in Tests/ServiceTests to make sure everything is configured correctly. Default settings for tests are pointed to localhost:7071.

If test succeeds, Spectabis should connect to local service when built with debug configuration.