Skip to content

Commit 5b0b726

Browse files
committed
complete debug doc for az function
1 parent b9ce65f commit 5b0b726

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documents/AzureFunction.md

+10
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ Open the solution `SmartHotel360.Website.sln` and open the project `SmartHotel36
1818

1919
You can deploy these resources automatically with the [Azure Deployment Guide.](AzureDeployment.md#Creating-The-Azure-Resources)
2020

21+
Once the resources are created you need to do some manual steps:
22+
23+
1. Create a blob storage container called `pets` in the storage account and ensure it has public access
24+
25+
![Public Blob Storage](./Images/blob.png)
26+
27+
2. [Create a database](https://docs.microsoft.com/en-us/azure/cosmos-db/create-sql-api-dotnet#add-a-collection) called `pets` in Cosmos DB. Then add a collection called `checks`.
28+
29+
![Cosmos DB Collection](./Images/collection.png)
30+
2131
## Deploy to Azure
2232

2333
To deploy the Azure Function just publish it from Visual Studio following the instructions in the "Publish to Azure" section of the [Azure Function Documentation](https://docs.microsoft.com/en-us/azure/azure-functions/functions-develop-vs).

0 commit comments

Comments
 (0)