Skip to content

Repo sync for protected CLA branch #8405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"redirections": [
{
"source_path": "docs/python/managing-python-on-azure-app-service.md",
"redirect_url": "/azure/app-service/quickstart-python",
"redirect_document_id": false
},
{
"source_path": "docs/ide/how-to-build-to-a-common-output-directory.md",
"redirect_url": "/visualstudio/ide/how-to-change-the-build-output-directory#build-to-a-common-outputdirectory",
Expand Down
3 changes: 0 additions & 3 deletions docs/python/configure-web-apps-for-iis-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ ms.workload:

When using Internet Information Services (IIS) as a web server on a Windows computer (including [Windows virtual machines on Azure](/azure/architecture/reference-architectures/n-tier/windows-vm)), Python apps must include specific settings in their *web.config* files so that IIS can properly process Python code. The computer itself must also have Python installed along with any packages the web app requires.

> [!Note]
> The previous article, is still available on [Managing App Service on Windows with the Python extensions](managing-python-on-azure-app-service.md).

## Install Python on Windows

To run a web app, first install your required version of Python directly on the Windows host machine as described on [Install Python interpreters](installing-python-interpreters.md).
Expand Down
210 changes: 0 additions & 210 deletions docs/python/managing-python-on-azure-app-service.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/python/publish-to-app-service-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Create a temporary App Service without needing an Azure subscription as follows:

## Configure Python on Azure App Service

Once you have an App Service with an empty Web App running (either in your subscription or on a free site), install a chosen version of Python as described [Managing Python on Azure App Service](managing-python-on-azure-app-service.md). For publishing from Visual Studio 2017 and later, record the exact path to the Python interpreter installed with the site extension as described in that article.
Once you have an App Service with an empty Web App running (either in your subscription or on a free site). For publishing from Visual Studio 2017 and later, record the exact path to the Python interpreter installed with the site extension as described in that article.

If desired, you can also install the `bottle` package using the process in those instructions, as that package is installed as part of other steps in this walkthrough.

Expand Down
2 changes: 1 addition & 1 deletion docs/python/python-web-application-project-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ When creating a project from a framework-specific template, a dialog appears to

If you're using source control, you typically omit the virtual environment folder as that environment can be recreated using only *requirements.txt*. The best way to exclude the folder is to first select the **I will install them myself** in the prompt shown above, then disable auto-commit before creating the virtual environment. For details, see [Learn Django Tutorial - Steps 1-2 and 1-3](learn-django-in-visual-studio-step-01-project-and-solution.md#step-1-2-examine-the-git-controls-and-publish-to-a-remote-repository) and [Learn Flask Tutorial - Steps 1-2 and 1-3](learn-flask-visual-studio-step-01-project-solution.md#step-1-2-examine-the-git-controls-and-publish-to-a-remote-repository).

When deploying to Microsoft Azure App Service, select a version of Python as a [site extension](./managing-python-on-azure-app-service.md?view=vs-2019&preserve-view=true) and manually install packages. Also, because Azure App Service does **not** automatically install packages from a *requirements.txt* file when deployed from Visual Studio, follow the configuration details on [aka.ms/PythonOnAppService](managing-python-on-azure-app-service.md).
When deploying to Microsoft Azure App Service, select a version of Python as a [site extension](/azure/app-service/quickstart-python) and manually install packages. Also, because Azure App Service does **not** automatically install packages from a *requirements.txt* file when deployed from Visual Studio, follow the configuration details on [aka.ms/PythonOnAppService](/azure/app-service/quickstart-python).

## Debugging

Expand Down