Skip to content

Commit 43467f1

Browse files
committed
READMEs & comments
1 parent 619d479 commit 43467f1

File tree

6 files changed

+17
-4
lines changed

6 files changed

+17
-4
lines changed

.devcontainer/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
# Dev container
1+
# .devcontainer directory
22

3-
This `.devcontainer` directory contains the configuration for a [dev container](https://docs.github.com/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers). It lets you open the repository in a [GitHub codespace](https://docs.github.com/codespaces/overview).
3+
This `.devcontainer` directory contains the configuration for a [dev container](https://docs.github.com/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers) and isn't used by the sample application.
44

5-
The dev container is configured to have the [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/overview), so you can run `azd` commands directly.
5+
The dev container configuration lets you open the repository in a [GitHub codespace](https://docs.github.com/codespaces/overview) or a dev container in Visual Studio Code. For your convenience, the dev container is configured with the following:
6+
7+
- Python
8+
- PostgreSQL
9+
- [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/overview) (so you can run `azd` commands directly).

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
}
5252
}
5353
},
54-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
54+
// Use 'forwardPorts' to make a list of ports inside the container available locally. 5000 is for Flask, and 5432 is for PostgreSQL.
5555
"forwardPorts": [
5656
5000, 5432
5757
],

.vscode/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# .vscode directory
2+
3+
This `.vscode` directory contains configuration that lets you launch and debug in Visual Studio Code and isn't used by the sample application.

azure.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
2+
# azure.yaml is an azd configuration file and isn't used by the sample application.
23

34
name: flask-postgresql-sample-app
45
metadata:

infra/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# infra directory
2+
3+
This `infra` directory contains azd files used for `azd provision` and isn't used by the sample application.

startup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# startup.sh is used by infra/resources.bicep to automate database migrations and isn't used by the sample application
2+
13
flask db upgrade
24
gunicorn --workers 2 --threads 4 --timeout 60 --access-logfile \
35
'-' --error-logfile '-' --bind=0.0.0.0:8000 \

0 commit comments

Comments
 (0)