Skip to content

Commit 246ae94

Browse files
committed
updates
1 parent 29ccba6 commit 246ae94

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

articles/app-service/includes/quickstart-python/deploy-local-git-azure-portal-3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ ms.author: daberry
44
ms.topic: include
55
ms.date: 01/29/2022
66
---
7-
After saving, the page will refresh and display the address for the remote Git repository.<br>
7+
After you save the page, it will refresh and display the address for the remote Git repository.<br>
88
<br>
99
Copy the value of the **Git Clone Uri** as this value will be used to set up a Git remote in a later step.

articles/app-service/includes/quickstart-python/deploy-local-git-azure-portal-4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ms.author: daberry
44
ms.topic: include
55
ms.date: 07/26/2023
66
---
7-
On the *Deployment Center* page
7+
On the *Deployment Center* page:
88

99
1. Navigate to the **Local Git/FTPS credentials** tab.
1010
1. Locate the local git username and password under the **Application scope** credentials.

articles/app-service/includes/quickstart-python/deploy-local-git.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,32 @@ You can deploy your application code from a local Git repository to Azure by con
1010

1111
| Instructions | Screenshot |
1212
|:----------------|-----------:|
13-
| [!INCLUDE [Deploy local Git Azure portal 1](./deploy-local-git-azure-portal-1.md)] | :::image type="content" source="../../media/quickstart-python/deploy-local-git-azure-portal-1-240px.png" alt-text="A screenshot showing how to locate your App Service using the search toolbar at the top of the Azure portal." lightbox="../../media/quickstart-python/deploy-local-git-azure-portal-1.png"::: |
14-
| [!INCLUDE [Deploy local Git Azure portal 2](./deploy-local-git-azure-portal-2.md)] | :::image type="content" source="../../media/quickstart-python/deploy-local-git-azure-portal-2-240px.png" alt-text="A screenshot showing how to navigate to the deployment center in App Service and select Local Git as the deployment method." lightbox="../../media/quickstart-python/deploy-local-git-azure-portal-2.png"::: |
15-
| [!INCLUDE [Deploy local Git Azure portal 3](./deploy-local-git-azure-portal-3.md)] | :::image type="content" source="../../media/quickstart-python/deploy-local-git-azure-portal-3-240px.png" alt-text="A screenshot showing the deployment center after saving and the remote Git URL to use for deployments." lightbox="../../media/quickstart-python/deploy-local-git-azure-portal-3.png"::: |
16-
| [!INCLUDE [Deploy local Git Azure portal 4](./deploy-local-git-azure-portal-4.md)] | :::image type="content" source="../../media/quickstart-python/deploy-local-git-azure-portal-4-240px.png" alt-text="A screenshot showing the location of the deployment credentials in the deployment center in App Service." lightbox="../../media/quickstart-python/deploy-local-git-azure-portal-4.png"::: |
13+
| [!INCLUDE [Deploy local Git Azure portal 1.](./deploy-local-git-azure-portal-1.md)] | :::image type="content" source="../../media/quickstart-python/deploy-local-git-azure-portal-1-240px.png" alt-text="A screenshot showing how to locate your App Service using the search toolbar at the top of the Azure portal." lightbox="../../media/quickstart-python/deploy-local-git-azure-portal-1.png"::: |
14+
| [!INCLUDE [Deploy local Git Azure portal 2.](./deploy-local-git-azure-portal-2.md)] | :::image type="content" source="../../media/quickstart-python/deploy-local-git-azure-portal-2-240px.png" alt-text="A screenshot showing how to navigate to the deployment center in App Service and select Local Git as the deployment method." lightbox="../../media/quickstart-python/deploy-local-git-azure-portal-2.png"::: |
15+
| [!INCLUDE [Deploy local Git Azure portal 3.](./deploy-local-git-azure-portal-3.md)] | :::image type="content" source="../../media/quickstart-python/deploy-local-git-azure-portal-3-240px.png" alt-text="A screenshot showing the deployment center after saving and the remote Git URL to use for deployments." lightbox="../../media/quickstart-python/deploy-local-git-azure-portal-3.png"::: |
16+
| [!INCLUDE [Deploy local Git Azure portal 4.](./deploy-local-git-azure-portal-4.md)] | :::image type="content" source="../../media/quickstart-python/deploy-local-git-azure-portal-4-240px.png" alt-text="A screenshot showing the location of the deployment credentials in the deployment center in App Service." lightbox="../../media/quickstart-python/deploy-local-git-azure-portal-4.png"::: |
1717

1818
Next, in the root directory of your application, configure a [Git remote](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) that points to Azure using the Git URL of the Azure remote obtained in a previous step.
1919

2020
```bash
2121
git remote add azure <git-deployment-url>
2222
```
2323

24-
You can now push code from your local Git repository to Azure using the Git remote you just configured. The default deployment branch for App Service is `master`, but many Git repositories are moving away from `master` to `main`. You can either specify the mapping from local branch name to remote branch name in the push (as shown below), or you can configure your [`DEPLOYMENT_BRANCH` app setting](../../deploy-local-git.md?tabs=cli#change-deployment-branch).
24+
You can now push code from your local Git repository to Azure using the Git remote you just configured. The default deployment branch for App Service is `master`, but many Git repositories are moving away from `master` and using `main`. You can either specify the mapping from local branch name to remote branch name in the push (as shown below), or you can configure your [`DEPLOYMENT_BRANCH` app setting](../../deploy-local-git.md?tabs=cli#change-deployment-branch).
2525

2626
```bash
2727
git push azure main:master
2828
```
2929

30-
The first time you push code to Azure, Git will prompt you for the Azure deployment credentials you obtained in the previous step. Git will then cache these credentials so you won't have to reenter them on subsequent deployments.
30+
The first time you push code to Azure, Git will prompt you for the Azure deployment credentials you obtained in the previous step. Git will then cache these credentials so you won't have to re-enter them on subsequent deployments.
3131

3232
### [Azure CLI](#tab/deploy-instructions-azcli)
3333

3434
First, configure the deployment source for your web app to be local Git using the `az webapp deployment source` command. This command will output the URL of the remote Git repository that you will be pushing code to. Make a copy of this value as you will need it in a later step.
3535

3636
[!INCLUDE [CLI deploy configure](./deploy-local-instructions-cli-1.md)]
3737

38-
Retrieve the deployment credentials for your application. These will be needed for Git to authenticate to Azure when you push code to Azure in a later step.
38+
Retrieve the deployment credentials for your application. Git will need these to authenticate to Azure when you push code to Azure in a later step.
3939

4040
[!INCLUDE [CLI deploy retrieve credentials](./deploy-local-instructions-cli-2.md)]
4141

@@ -45,10 +45,10 @@ Next, in the root directory of your application, configure a [Git remote](https:
4545
git remote add azure <git-deployment-url>
4646
```
4747

48-
You can now push code from your local Git repository to Azure using the Git remote you just configured. The default deployment branch for App Service is `master`, but many Git repositories are moving away from `master` to `main`. You can either specify the mapping from local branch name to remote branch name in the push (as shown below), or you can configure your [`DEPLOYMENT_BRANCH` app setting](../../deploy-local-git.md?tabs=cli#change-deployment-branch).
48+
You can now push code from your local Git repository to Azure using the Git remote you just configured. The default deployment branch for App Service is `master`, but many Git repositories are moving away from `master` and using `main`. You can either specify the mapping from local branch name to remote branch name in the push (as shown below), or you can configure your [`DEPLOYMENT_BRANCH` app setting](../../deploy-local-git.md?tabs=cli#change-deployment-branch).
4949

5050
```bash
5151
git push azure main:master
5252
```
5353

54-
The first time you push code to Azure, Git will prompt you for the Azure deployment credentials you obtained in a previous step. Git will then cache these credentials so you won't have to reenter them on subsequent deployments.
54+
The first time you push code to Azure, Git will prompt you for the Azure deployment credentials you obtained in a previous step. Git will then cache these credentials so you won't have to re-enter them on subsequent deployments.

articles/app-service/includes/quickstart-python/stream-logs-visual-studio-code-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ ms.author: daberry
44
ms.topic: include
55
ms.date: 01/29/2022
66
---
7-
The console logs appear in VS Code's Output window. Refresh the home page in the app or attempt other requests to generate some log messages.<br>
7+
The console logs appear in the VS Code Output window. Refresh the home page in the app or attempt other requests to generate some log messages.<br>
88
<br>
99
You will see any log messages generated by your app as well as other messages generated by the service in the output.

articles/app-service/quickstart-python.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Azure App Service supports multiple methods to deploy your application code to A
213213

214214
---
215215

216-
Having issues? Refer first to the [Troubleshooting guide](./configure-language-python.md#troubleshooting), otherwise, [let us know](https://aka.ms/PythonAppServiceQuickstartFeedback).
216+
Having issues? Refer first to the [Troubleshooting guide](./configure-language-python.md#troubleshooting). If that doesn't help, [let us know](https://aka.ms/PythonAppServiceQuickstartFeedback).
217217

218218
## Configure startup script
219219

@@ -283,19 +283,19 @@ For FastAPI, you must configure a custom startup command for App Service to run
283283

284284
## Browse to the app
285285

286-
Browse to the deployed application in your web browser at the URL `http://<app-name>.azurewebsites.net`. If you see a default app page, wait a minute and refresh the browser.
286+
Browse to the deployed application in your web browser by using the URL `http://<app-name>.azurewebsites.net`. If you see a default app page, wait a minute and refresh the browser.
287287

288288
The Python sample code is running a Linux container in App Service using a built-in image.
289289

290290
:::image type="content" source="./media/quickstart-python/run-app-azure.png" alt-text="Screenshot of the app running in Azure":::
291291

292292
**Congratulations!** You've deployed your Python app to App Service.
293293

294-
Having issues? Refer first to the [Troubleshooting guide](./configure-language-python.md#troubleshooting), otherwise, [let us know](https://aka.ms/PythonAppServiceQuickstartFeedback).
294+
Having issues? Refer first to the [Troubleshooting guide](./configure-language-python.md#troubleshooting). If that doesn't help, [let us know](https://aka.ms/PythonAppServiceQuickstartFeedback).
295295

296296
## Stream logs
297297

298-
Azure App Service captures all messages output to the console to assist you in diagnosing issues with your application. The sample apps include `print()` statements to demonstrate this capability.
298+
Azure App Service captures all message output to the console to assist you in diagnosing issues with your application. The sample apps include `print()` statements to demonstrate this capability.
299299

300300
### [Flask](#tab/flask)
301301

@@ -311,11 +311,11 @@ Azure App Service captures all messages output to the console to assist you in d
311311

312312
---
313313

314-
The contents of the App Service diagnostic logs can be reviewed using the Azure CLI, VS Code, or Azure portal.
314+
You can review the contents of the App Service diagnostic logs by using the Azure CLI, VS Code, or the Azure portal.
315315

316316
### [Azure CLI](#tab/azure-cli)
317317

318-
First, you need to configure Azure App Service to output logs to the App Service filesystem using the [az webapp log config](/cli/azure/webapp/log#az-webapp-log-config) command.
318+
First, you need to configure Azure App Service to output logs to the App Service filesystem by using the [az webapp log config](/cli/azure/webapp/log#az-webapp-log-config) command.
319319

320320
[!INCLUDE [CLI stream logs configure](./includes/quickstart-python/stream-logs-cli-1.md)]
321321

0 commit comments

Comments
 (0)