Skip to content

TaylorOno/wg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azure-scrapper

Example Azure function custom handlers with go.

Prerequisites Utilities

az - Azure CLI

Used to log in to azure and provision the required resource group, storage, and function app

func - Azure Function CLI

Used to test function locally simulating Azure runtime environment as well as deploy the application bundle.

upx - Binary compression utility

Used to compress the function binary to reduce upload time at the cost of slower function start up.

Getting started

Creating the functionapp

Creating a resource group

az group create --name az-wgdrinks-rg --location eastus

Creating a storage account

az storage account create --name azwgdrinksstorage --location eastus --resource-group az-wgdrinks-rg --sku Standard_LRS --allow-blob-public-access false

Creating a functionapp

az functionapp create -g az-wgdrinks-rg -n az-wgdrinks -s azwgdrinksstorage --consumption-plan-location eastus --runtime custom --functions-version 4 --disable-app-insights

NOTE: functionapp name must contain only uppercase, lowercase numbers and dashes, or you will get the exception The parameter WEBSITE_CONTENTSHARE has an invalid value.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published