Skip to content

Commit afd78f9

Browse files
committed
Update readme to link to published doc.
1 parent 05501ca commit afd78f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Deploy a Python (Django) web app container to Azure App Service (in progress)
22

3-
This Python web app is a restaurant review application using the [Django](https://www.djangoproject.com/) framework. The app is intended to be used as a container running on Azure App Service with a connection to an Azure Cosmos DB API for MongoDB.
3+
This Python web app is a restaurant review application using the [Django](https://www.djangoproject.com/) framework. The app is intended to be used as a container running in Azure App Service with a connection to MongoDB such as Azure Cosmos DB API for MongoDB.
44

5-
Following the tutorial [TBD: coming soon](TBD), you can deploy this web app Azure, hosted in a fully managed Azure App Service. Azure managed identity enables the App Service to pull container images from an Azure Container Registry. MongoDB connection info is passed to the code through environment variables.
5+
Following the tutorial [Containerized Python web app on Azure](https://docs.microsoft.com/azure/developer/python/tutorial-containerize-deploy-python-web-app-azure-01), you can deploy this web app to Azure, hosted in a fully managed Azure App Service. Azure managed identity enables the App Service to pull container images from an Azure Container Registry. MongoDB connection info is passed to the code through environment variables.
66

77
If you need an Azure account, you can [create on for free](https://azure.microsoft.com/free/).
88

@@ -14,8 +14,8 @@ Here are some ways you can run the sample web app in this repository.
1414

1515
| Scenario | As-is repo code | Containerized app |
1616
| ----------- | ----------- | ----------|
17-
| Local environment | Run repo code in virtual environment with *requirements.txt*. Set environment variables in shell before running. For an example, see [Configure a Python virtual environment](https://docs.microsoft.com/azure/developer/python/configure-local-development-environment#configure-python-virtual-environment).| Build image from repo and run locally in Docker container. Pass environment variables in Docker CLI command or with VS Code task definition <sup>1</sup>. This scenario is covered in [Tutorial: coming soon](TBD).|
18-
| Azure App Service | Deploy repo code to App service. Set environment variables as App Service configuration settings. See note about subpath. <sup>2</sup> | Deploy container to [Web App for Containers](https://azure.microsoft.com/services/app-service/containers/). Build image locally or in Azure and push to container registry like Azure Container Registry. Configure App Service to pull from registry. Set environment variables as App Service configuration settings. This scenario is covered in [Tutorial: coming soon](TBD). |
17+
| Local environment | Run repo code in virtual environment with *requirements.txt*. Set environment variables in shell before running. For an example, see [Configure a Python virtual environment](https://docs.microsoft.com/azure/developer/python/configure-local-development-environment#configure-python-virtual-environment).| Build image from repo and run locally in Docker container. Pass environment variables in Docker CLI command or with VS Code task definition <sup>1</sup>. This scenario is covered in [Containerized Python web app on Azure](https://docs.microsoft.com/azure/developer/python/tutorial-containerize-deploy-python-web-app-azure-01).|
18+
| Azure App Service | Deploy repo code to App service. Set environment variables as App Service configuration settings. See note about subpath. <sup>2</sup> | Deploy container to [Web App for Containers](https://azure.microsoft.com/services/app-service/containers/). Build image locally or in Azure and push to container registry like Azure Container Registry. Configure App Service to pull from registry. Set environment variables as App Service configuration settings. This scenario is covered in [Containerized Python web app on Azure](https://docs.microsoft.com/azure/developer/python/tutorial-containerize-deploy-python-web-app-azure-01). |
1919
| [Azure Container Apps](https://docs.microsoft.com/azure/container-apps/overview) | *n/a* | Build image locally or in Azure and push to container registry like Azure Container Registry. Create a Container App with deployment from the registry. Configure environment variables for the container. |
2020

2121
(1) The *.vscode* directory *settings.json* and *tasks.json* are configured either for a MongoDB local connection or an Azure Cosmos DB connection. The tasks and templates in *.vscode* are only used when using Visual Studio Code locally.

0 commit comments

Comments
 (0)