jrecasens / arlo_azure_service

Deploy Arlo Camera Detection on Azure App Service for Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Arlo logo Azure logo
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.

Prerequisites

The project code utilizes the following library:

Code

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

Testing

Before deployment to Azure App Service, creating a virtual enviroment is recommended for a succesful local execution test:

Create Enviroment (named .venv)

python -m venv .venv

Activate enviroment

.venv\scripts\activate

Install dependencies in .venv

pip install -r requirements.txt

Run Flask App

cd C:/Github/arlo_azure_service
$env:FLASK_APP = "execute:app"

Deactivate and Delete (optional)

deactivate
rm -r .venv

About

Deploy Arlo Camera Detection on Azure App Service for Linux


Languages

Language:Python 67.9%Language:TSQL 32.1%