Arlo Camera Flask App on Azure
Simple Flask Application in Azure App Service to handle Arlo Camera event storage in Azure SQL Server and Azure Blog Storage.
The project code utilizes the following library:
- Python v3.8.6
- Flask v2.0.1
- pyaarlo v0.8.0a6
- azure.storage.blob v12.8.1
- pyodbc v4.0.31
This project is based on
https://docs.microsoft.com/en-us/azure/developer/python/tutorial-deploy-app-service-on-linux-01
Deploy Python apps to Azure App Service on Linux from Visual Studio Code
Before deployment to Azure App Service, creating a virtual enviroment is recommended for a succesful local execution test:
python -m venv .venv
.venv\scripts\activate
pip install -r requirements.txt
cd C:/Github/arlo_azure_service
$env:FLASK_APP = "execute:app"
deactivate
rm -r .venv