Update readmes.
MODIFY
cloud-js-containers/README.md
cloud-js-containers/README.md
@@ -8,6 +8,9 @@ To run this example, make sure [Docker](https://docs.docker.com/engine/installat
## Running the App
+Note: some values in this example will be different from run to run. These values are indicated
+with `***`.
+
1. Create a new stack:
```
@@ -21,7 +24,7 @@ To run this example, make sure [Docker](https://docs.docker.com/engine/installat
$ pulumi config set cloud-aws:useFargate true
```
-1. Restore NPM modules via `npm install`.
+1. Restore NPM modules via `npm install` or `yarn install`.
1. Preview and deploy the app via `pulumi update`. The preview will take a few minutes, as it builds a Docker container. A total of 19 resources are created.
@@ -35,7 +38,7 @@ To run this example, make sure [Docker](https://docs.docker.com/engine/installat
$ pulumi stack output
Current stack outputs (1)
OUTPUT VALUE
- hostname http://42dc3ff4-ac65d11-86a100b6e1d7f210.elb.us-west-2.amazonaws.com
+ hostname http://***.elb.us-west-2.amazonaws.com
$ curl $(pulumi stack output hostname)
<html>

MODIFY
cloud-ts-voting-app/README.md
cloud-ts-voting-app/README.md
@@ -16,6 +16,9 @@ To use this example, make sure [Docker](https://docs.docker.com/engine/installat
### Configure the deployment
+Note: some values in this example will be different from run to run. These values are indicated
+with `***`.
+
1. Login via `pulumi login`.
1. Create a new stack:
@@ -45,19 +48,19 @@ To use this example, make sure [Docker](https://docs.docker.com/engine/installat
### Compile the TypeScript program
-1. Restore NPM modules via `npm install`.
+1. Restore NPM modules via `npm install` or `yarn install`.
-1. Compile the program via `tsc` or `npm run build`.
+1. Compile the program via `tsc` or `npm run build` or `yarn run build`.
### Preview and deploy
-1. Ensure the Docker daemon is running on your machine, then preview and deploy the program with `pulumi update`. The program deploys 32 resources and takes about 10 minutes to complete.
+1. Ensure the Docker daemon is running on your machine, then preview and deploy the program with `pulumi update`. The program deploys 24 resources and takes about 10 minutes to complete.
1. View the stack output properties via `pulumi stack output`. The stack output property `frontendUrl` is the URL and port of the deployed app:
```bash
$ pulumi stack output frontendURL
- 8f351c44-f9d1584-247a3196f19f7797.elb.us-west-2.amazonaws.com
+ ***.elb.us-west-2.amazonaws.com
```
1. In a browser, navigate to the URL for `frontendURL`. You should see the voting app webpage.

Update readmes. (#85)