vbv/env/azure/commands.sh

12 lines
697 B
Bash

# create a webapp deploment user
# you can not run these command wiht the free tier subscription... at least developer tier is needed.
az webapp deployment user set --user-name iterativ_developer --password 1password
# Create plans for stage and prod
az appservice plan create --name stage --resource-group VBV --sku P1V2 --is-linux
az appservice plan create --name prod --resource-group VBV --sku P2V2 --is-linux
# create the two applications on Python 3.10, change
az webapp create --resource-group VBV --plan stage --name app-stage --runtime "PYTHON|3.10" --deployment-local-git
az webapp create --resource-group VBV --plan prod --name app-prod --runtime "PYTHON|3.10" --deployment-local-git