You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: aws-py-voting-app/README.md
+11-7
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,14 @@
1
+
# AWS Python Voting App
2
+
1
3
[](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/aws-py-voting-app/README.md#gh-light-mode-only)
2
4
[](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/aws-py-voting-app/README.md#gh-dark-mode-only)
3
5
4
-
# Voting app Using Redis and Flask
6
+
##Voting app Using Redis and Flask
5
7
6
-
A simple voting app that uses Redis for a data store and a Python Flask app for the frontend. The example has been ported from https://github.com/Azure-Samples/azure-voting-app-redis.
8
+
A simple voting app that uses Redis for a data store and a Python Flask app for the frontend. The example has been ported from <https://github.com/Azure-Samples/azure-voting-app-redis>.
7
9
8
10
The example shows how easy it is to deploy containers into production and to connect them to one another. Since the example defines a custom container, Pulumi does the following:
Copy file name to clipboardexpand all lines: azure-cs-appservice-docker/README.md
+14-18
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
+
# Azure App Service Running Docker Containers on Linux
2
+
1
3
[](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/azure-cs-appservice-docker/README.md#gh-light-mode-only)
2
4
[](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/azure-cs-appservice-docker/README.md#gh-dark-mode-only)
3
5
4
-
# Azure App Service Running Docker Containers on Linux
5
-
6
6
Starting point for building web application hosted in Azure App Service from Docker images.
7
7
8
8
The example shows two scenarios:
@@ -12,27 +12,27 @@ The example shows two scenarios:
12
12
13
13
## Running the App
14
14
15
-
1.Create a new stack:
15
+
1. Create a new stack:
16
16
17
-
```
18
-
$ pulumi stack init dev
17
+
```bash
18
+
pulumi stack init dev
19
19
```
20
20
21
-
1. Login to Azure CLI (you will be prompted to do this during deployment if you forget this step):
21
+
1. Login to Azure CLI (you will be prompted to do this during deployment if you forget this step):
22
22
23
-
```
24
-
$ az login
23
+
```bash
24
+
az login
25
25
```
26
26
27
27
1. Set the Azure region location to use:
28
28
29
-
```
30
-
$ pulumi config set azure-native:location westus2
29
+
```bash
30
+
pulumi config set azure-native:location westus2
31
31
```
32
32
33
-
1. Run `pulumi up` to preview and deploy changes:
33
+
1. Run `pulumi up` to preview and deploy changes:
34
34
35
-
```
35
+
```bash
36
36
$ pulumi up
37
37
Previewing changes:
38
38
...
@@ -45,13 +45,9 @@ The example shows two scenarios:
0 commit comments