diff --git a/.gitignore b/.gitignore index 72364f99f..441a11ffd 100644 --- a/.gitignore +++ b/.gitignore @@ -81,9 +81,14 @@ celerybeat-schedule # virtualenv venv/ ENV/ +.venv/ # Spyder project settings .spyderproject # Rope project settings .ropeproject + +# Visual Studio Code +.vscode/ + diff --git a/README.md b/README.md index b38c45a36..8a2e9e91e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,19 @@ -# Python Flask app on Azure Web App for Containers +--- +page_type: sample +description: "A minimal sample app that can be used to demonstrate deploying Flask apps to Azure App Service on Linux." +languages: +- python +products: +- azure +- azure-app-service +--- -This is a minimal sample app that demonstrates how to run a Python Flask application on Azure App Service on Linux. +# Python Flask sample for Azure App Service (Linux) -For more information, please see the [Python on App Service quickstart](https://docs.microsoft.com/en-us/azure/app-service/containers/quickstart-python). +This is a minimal Flask app that can be deployed to Azure App Service on Linux. -# Contributing +For instructions on running and deploying the code, see [Quickstart: Create a Python app in Azure App Service on Linux](https://docs.microsoft.com/azure/app-service/quickstart-python). + +## Contributing This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. diff --git a/application.py b/app.py similarity index 73% rename from application.py rename to app.py index a86beaa6d..7f8a1f2e8 100644 --- a/application.py +++ b/app.py @@ -3,4 +3,4 @@ @app.route("/") def hello(): - return "Hello World!" \ No newline at end of file + return "Hello, World!" diff --git a/requirements.txt b/requirements.txt index 404d3cf1f..e3e9a71d9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1 @@ -click==6.7 -Flask==1.0.2 -itsdangerous==0.24 -Jinja2==2.10 -MarkupSafe==1.0 -Werkzeug==0.14.1 \ No newline at end of file +Flask