Skip to content

Commit

Permalink
Rename application.py to app.py
Browse files Browse the repository at this point in the history
Doing so allows the associated article to drop the set FLASK_APP step for simplicity.

Also update .gitignore for VS Code, and update the readme.
  • Loading branch information
kraigb committed Sep 22, 2020
1 parent 168cd1e commit 9569aba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,14 @@ celerybeat-schedule
# virtualenv
venv/
ENV/
.venv/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject

# Visual Studio Code
.vscode/

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
page_type: sample
description: "This is a minimal sample app that demonstrates how to run a Python Flask application on Azure App Service on Linux."
description: "A minimal sample app that can be used to demonstrate deploying Flask apps to Azure App Service on Linux."
languages:
- python
products:
Expand All @@ -10,9 +10,9 @@ products:

# Python Flask sample for Azure App Service (Linux)

This is a minimal sample app that demonstrates how to run a Python Flask application on Azure App Service on Linux.
This is a minimal Flask app that can be deployed to Azure App Service on Linux.

For more information, please see the [Python on App Service quickstart](https://docs.microsoft.com/azure/app-service/containers/quickstart-python).
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

Expand Down
1 change: 0 additions & 1 deletion application.py → app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from flask import Flask
app = Flask(__name__)


@app.route("/")
def hello():
return "Hello, World!"

0 comments on commit 9569aba

Please sign in to comment.