forked from microsoft/SmartHotel360-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating repository and project structure.
- Loading branch information
David Sanchez
committed
Oct 18, 2018
1 parent
47d6ff7
commit ff5e225
Showing
268 changed files
with
714 additions
and
733 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Running Azure Function | ||
|
||
## Running locally | ||
|
||
To run Azure Function locally you need the latest version of Visual Studio and Azure Function tools. | ||
|
||
Open the solution `SmartHotel360.Website.sln` and open the project `SmartHotel360.WebsiteFunction` edit the `local.settings.json` file with following entries in `Values` section: | ||
|
||
* `cosmos_uri`: URL of the CosmosDb (SQL API) to use | ||
* `cosmos_key`: Key of the CosmosDb (SQL API) to use | ||
* `constr`: Connection String for the CosmosDb (SQL API) to use | ||
* `MicrosoftVisionApiKey`: API Key for Vision API | ||
* `MicrosoftVisionApiEndpoint`: Vision API endpoint (i. e. https://eastus2.api.cognitive.microsoft.com/vision/v1.0/) | ||
* `MicrosoftVisionNumTags`: Tags to fetch from Vision API | ||
* `KeyVaultUri`: Uri of the KeyVault to retrieve the secrets. **Leave it blank to not use key vault** | ||
* `AzureSignalRConnectionString`: Connection string to [Azure SignalR](https://azure.microsoft.com/en-us/services/signalr-service/) resource to use. | ||
|
||
## Deploy to Azure | ||
|
||
To deploy the Azure Function just publish it from Visual Studio following the instructions in the "Publish to Azure" section of the [AF documentation] | ||
(https://docs.microsoft.com/en-us/azure/azure-functions/functions-develop-vs). | ||
|
||
## Creating needed Azure resources | ||
|
||
The Azure Function needs some Azure resources to be created and setup: | ||
|
||
1. Create Azure SignalR by deploying the ARM template. | ||
2. Create CosmosDB as part of the ARM template. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule SmartHotel360-AKS-DevSpaces-Demo
deleted from
81fe9c
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.27130.2027 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SmartHotel360.Website", "SmartHotel360.Website\SmartHotel360.Website.csproj", "{19C71EBB-DC43-4DF4-B057-17A6B3E2CB0A}" | ||
EndProject | ||
Project("{151D2E53-A2C4-4D7D-83FE-D05416EBD58E}") = "SmartHotel360.WebsiteARM", "SmartHotel360.WebsiteARM\SmartHotel360.WebsiteARM.deployproj", "{95341EE4-C2A1-48EA-B5BC-A8765B6449FB}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SmartHotel360.WebsiteFunction", "SmartHotel360.WebsiteFunction\SmartHotel360.WebsiteFunction.csproj", "{62DDB45C-9BE8-4C91-BDE3-7D6EECE027A7}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{19C71EBB-DC43-4DF4-B057-17A6B3E2CB0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{19C71EBB-DC43-4DF4-B057-17A6B3E2CB0A}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{19C71EBB-DC43-4DF4-B057-17A6B3E2CB0A}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{19C71EBB-DC43-4DF4-B057-17A6B3E2CB0A}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{95341EE4-C2A1-48EA-B5BC-A8765B6449FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{95341EE4-C2A1-48EA-B5BC-A8765B6449FB}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{95341EE4-C2A1-48EA-B5BC-A8765B6449FB}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{95341EE4-C2A1-48EA-B5BC-A8765B6449FB}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{62DDB45C-9BE8-4C91-BDE3-7D6EECE027A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{62DDB45C-9BE8-4C91-BDE3-7D6EECE027A7}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{62DDB45C-9BE8-4C91-BDE3-7D6EECE027A7}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{62DDB45C-9BE8-4C91-BDE3-7D6EECE027A7}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {23C4A13D-E82E-48D6-8294-EE92628BE637} | ||
EndGlobalSection | ||
EndGlobal |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
Oops, something went wrong.