Skip to content

Commit 9569aba

Browse files
committed
Rename application.py to app.py
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.
1 parent 168cd1e commit 9569aba

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,14 @@ celerybeat-schedule
8181
# virtualenv
8282
venv/
8383
ENV/
84+
.venv/
8485

8586
# Spyder project settings
8687
.spyderproject
8788

8889
# Rope project settings
8990
.ropeproject
91+
92+
# Visual Studio Code
93+
.vscode/
94+

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
page_type: sample
3-
description: "This is a minimal sample app that demonstrates how to run a Python Flask application on Azure App Service on Linux."
3+
description: "A minimal sample app that can be used to demonstrate deploying Flask apps to Azure App Service on Linux."
44
languages:
55
- python
66
products:
@@ -10,9 +10,9 @@ products:
1010

1111
# Python Flask sample for Azure App Service (Linux)
1212

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

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

1717
## Contributing
1818

application.py renamed to app.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from flask import Flask
22
app = Flask(__name__)
33

4-
54
@app.route("/")
65
def hello():
76
return "Hello, World!"

0 commit comments

Comments
 (0)