- Install Visual Studio 2022 (Enterprise)
- Install Azure SDK tools
In Game.Launcher.Console (Console version) or Game.Functions (Web version) project, open local.appsettings.json and update the following settings:
{
"OpenAIKey": "<OPEN-API-KEY>",
"AzureWebJobsStorage": "<AZURE-STORAGE-CONNECTION-STRING>",
"StaticFiles": "local"
}
Setting StaticFiles to local will use the local static files. Otherwise it will use the static files from Azure Blob Storage.
- Run with the command:
dotnet run --project Game.Launcher.Console - Press 'Ctrl + C' or type command
exitto exit the game.
- Run locally with the command:
dotnet run --project Game.Functions - Open in browser http://localhost:7071/