Resource group
az group create --name BryndzaResourceGroup --location WestUS
App Service Plan
az appservice plan create --name BryndzaServicePlan --resource-group BryndzaResourceGroup --sku Free
App Services
webapp="bryndza"
az webapp create --name bryndza --resource-group BryndzaResourceGroup --plan BryndzaServicePlan
The app uses two containers in the Blob storage account.
The photo container is where the app uploads full-resolution images.
An Azure function app uploads resized image thumbnails to the thumb container.
PS /home/chester>
az webapp deployment source config --name bryndza --resource-group BryndzaResourceGroup \
the following arguments are required: --repo-url/-u
TRY THIS:
az webapp deployment source config --branch master --manual-integration --name MyWebApp --repo-url https://github.com/Azure-Samples/function-image-upload-resize --resource-group MyResourceGroup
Manage deployment from git or Mercurial repositories. (autogenerated)
az webapp deployment source config --branch master --manual-integration --name MyWebApp --repo-url https://github.com/Azure-Samples/function-image-upload-resize --resource-group MyResourceGroup --slot staging
Manage deployment from git or Mercurial repositories. (autogenerated)
https://docs.microsoft.com/en-US/cli/azure/webapp/deployment/source#az_webapp_deployment_source_config
Read more about the command in reference docs
PS /home/chester> --branch master --manual-integration \
ParserError:
Line |
1 | --branch master --manual-integration \
| ~
| Missing expression after unary operator '--'.
PS /home/chester> --repo-url https://snapservices.github.io/BryndzaPhotoAlbum/