Skip to content

Commit

Permalink
do not be ambigious
Browse files Browse the repository at this point in the history
  • Loading branch information
gretel committed Mar 7, 2024
1 parent 66725af commit e1a86c2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@
A working terminal running a shell is required.

To begin please install the [`Azure CLI`](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
).
) and succeed to logging in:

```shell
az login
az config set defaults.location=germanywestcentral
```

## Deploy to Azure

Please read the according [documentation](https://learn.microsoft.com/en-us/azure/app-service/quickstart-python) first!

```shell
az webapp up --location germanywestcentral --name my-training-flask --runtime PYTHON:3.11 --sku B1 --only-show-errors
az webapp up --location germanywestcentral --name cbwham-training-flask --runtime PYTHON:3.11 --sku B1 --only-show-errors
```

Note: `name` needs to be __unique__ Azure-wide!
Expand All @@ -30,17 +29,15 @@ Note: `name` needs to be __unique__ Azure-wide!

```json
{
"URL": "http://my-training-flask.azurewebsites.net",
"URL": "http://cbwham-training-flask.azurewebsites.net",
"appserviceplan": "office_asp_3158",
"location": "germanywestcentral",
"name": "my-training-flask",
"name": "cbwham-training-flask",
"os": "Linux",
"resourcegroup": "office_rg_5180",
"runtime_version": "PYTHON|3.11",
"runtime_version_detected": "-",
"sku": "BASIC",
"src_path": "//Users//gretel//cbwham//training-flask"
"src_path": "//Users//gretel//Sync//code//cbwham//training-flask"
}
```

# Work in progress - to be continued!

0 comments on commit e1a86c2

Please sign in to comment.