Azure API
- Make Sure u have setup account created for Azure
- You have enabled Free Subscription
- You have created a webapp instance manullay example "flaskserverpushparanimptest2"
$brew update && brew install azure-cli
$az upgrade
$az version
$az login
$git clone https://github.com/Azure-Samples/python-docs-hello-world
$cd python-docs-hello-world
$python3 -m venv .venv
$source .venv/bin/activate
$pip install -r requirements.txt
$flask run
test localy in browser : http://localhost:5000/ ctrl+C to Quit
$az webapp up --sku F1 --name flaskserverpushparanimptest2 #sku is pricing F1 is free
open http://flaskserverpushparanimptest2.azurewebsites.net
$az webapp up
No comments:
Post a Comment