Skip to content

Commit ad91688

Browse files
committed
validation
1 parent 31695bf commit ad91688

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

articles/app-service/configure-language-python.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This article describes how [Azure App Service](overview.md) runs Python apps, ho
1717

1818
The App Service deployment engine automatically activates a virtual environment and runs `pip install -r requirements.txt` for you when you deploy a [Git repository](deploy-local-git.md), or when you deploy a [zip package](deploy-zip.md) [with build automation enabled](deploy-zip.md#enable-build-automation-for-zip-deploy).
1919

20-
This guide provides key concepts and instructions for Python developers who use a built-in Linux container in App Service. If you've never used Azure App Service, first follow the [Python quickstart](quickstart-python.md) and [Flask](tutorial-python-postgresql-app-flask.md), [Django](tutorial-python-postgresql-app-djanog.md), or [FastAPI](tutorial-python-postgresql-app-fastapi.md) with PostgreSQL tutorial.
20+
This guide provides key concepts and instructions for Python developers who use a built-in Linux container in App Service. If you've never used Azure App Service, first follow the [Python quickstart](quickstart-python.md) and [Flask](tutorial-python-postgresql-app-flask.md), [Django](tutorial-python-postgresql-app-django.md), or [FastAPI](tutorial-python-postgresql-app-fastapi.md) with PostgreSQL tutorial.
2121

2222
You can use either the [Azure portal](https://portal.azure.com) or the Azure CLI for configuration:
2323

@@ -105,10 +105,10 @@ Existing web applications can be redeployed to Azure as follows:
105105
106106
1. **Database**: If your app depends on a database, create the necessary resources on Azure as well.
107107
108-
1. **App service resources**: Create a resource group, App Service plan, and App Service web app to host your application. You can do this easily by running the Azure CLI command [`az webapp up`](/cli/azure/webapp#az-webapp-up). Or, you can create and deploy resources as shown in the [Flask](tutorial-python-postgresql-app-flask.md), [Django](tutorial-python-postgresql-app-djanog.md), or [FastAPI](tutorial-python-postgresql-app-fastapi.md) with PostgreSQL tutorial. Replace the names of the resource group, App Service plan, and web app to be more suitable for your application.
108+
1. **App service resources**: Create a resource group, App Service plan, and App Service web app to host your application. You can do this easily by running the Azure CLI command [`az webapp up`](/cli/azure/webapp#az-webapp-up). Or, you can create and deploy resources as shown in the [Flask](tutorial-python-postgresql-app-flask.md), [Django](tutorial-python-postgresql-app-django.md), or [FastAPI](tutorial-python-postgresql-app-fastapi.md) with PostgreSQL tutorial. Replace the names of the resource group, App Service plan, and web app to be more suitable for your application.
109109
110110
1. **Environment variables**: If your application requires any environment variables, create equivalent [App Service application settings](configure-common.md#configure-app-settings). These App Service settings appear to your code as environment variables, as described in [Access environment variables](#access-app-settings-as-environment-variables).
111-
- Database connections, for example, are often managed through such settings, as shown in [Tutorial: Deploy a Django web app with PostgreSQL - verify connection settings](tutorial-python-postgresql-app-django.md#2-secure-connection-secrets).
111+
- Database connections, for example, are often managed through such settings, as shown in [Tutorial: Deploy a Django web app with PostgreSQL - verify connection settings](tutorial-python-postgresql-app-django.md#3-secure-connection-secrets).
112112
- See [Production settings for Django apps](#production-settings-for-django-apps) for specific settings for typical Django apps.
113113
114114
1. **App startup**: Review the section [Container startup process](#container-startup-process) later in this article to understand how App Service attempts to run your app. App Service uses the Gunicorn web server by default, which must be able to find your app object or *wsgi.py* folder. If you need to, you can [Customize the startup command](#customize-startup-command).
@@ -430,7 +430,7 @@ When attempting to run database migrations with a Django app, you might see "sql
430430

431431
Check the `DATABASES` variable in the app's *settings.py* file to ensure that your app is using a cloud database instead of SQLite.
432432

433-
If you're encountering this error with the sample in [Tutorial: Deploy a Django web app with PostgreSQL](tutorial-python-postgresql-app-django.md), check that you completed the steps in [Verify connection settings](tutorial-python-postgresql-app-django.md#2-secure-connection-secrets).
433+
If you're encountering this error with the sample in [Tutorial: Deploy a Django web app with PostgreSQL](tutorial-python-postgresql-app-django.md), check that you completed the steps in [Verify connection settings](tutorial-python-postgresql-app-django.md#3-secure-connection-secrets).
434434

435435
#### Other issues
436436

articles/app-service/tutorial-connect-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Examples of using application secrets to connect to a database:
8585
- [Tutorial: Deploy a PHP, MySQL, and Redis app to Azure App Service](tutorial-php-mysql-app.md)
8686
- [Deploy a Node.js + MongoDB web app to Azure](tutorial-nodejs-mongodb-app.md)
8787
- [Deploy a Python (Flask) web app with PostgreSQL in Azure](tutorial-python-postgresql-app-flask.md)
88-
- [Deploy a Python (Django) web app with PostgreSQL in Azure](tutorial-python-postgresql-django.md)
88+
- [Deploy a Python (Django) web app with PostgreSQL in Azure](tutorial-python-postgresql-app-django.md)
8989
- [Deploy a Python (FastAPI) web app with PostgreSQL in Azure](tutorial-python-postgresql-app-fastapi.md)
9090
- [Tutorial: Build a Tomcat web app with Azure App Service on Linux and MySQL](tutorial-java-tomcat-mysql-app.md)
9191
- [Tutorial: Build a Java Spring Boot web app with Azure App Service on Linux and Azure Cosmos DB](tutorial-java-spring-cosmosdb.md)

redirects/.openpublishing.redirection.app-service.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@
20712071
"redirect_document_id": false
20722072
},
20732073
{
2074-
"source_path_from_root": "/articles/app-service-web/tutorial-python-postgresql-app.md",
2074+
"source_path_from_root": "/articles/app-service/tutorial-python-postgresql-app.md",
20752075
"redirect_url": "/azure/app-service/tutorial-python-postgresql-app-flask",
20762076
"redirect_document_id": false
20772077
},

0 commit comments

Comments
 (0)