Requirements:
- Python 3.10
- PIP
- NPM
npm install --global azure-functions-core-tools
Azure SQL database using free vCore offer.
Set connection strings and role permissions.
func start
https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-python?
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location westeurope --runtime python --runtime-version <PYTHON_VERSION> --functions-version 4 --name <APP_NAME> --os-type linux --storage-account <STORAGE_NAME>
Make sure Function App is currently running before running command.
func azure functionapp publish vehicle-analysis --build-remote