Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions flexible/java-11/cloudstorage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Before you can run or deploy the sample, you will need to do the following:
SDK](https://cloud.google.com/sdk) using the following command:

```sh
gsutil mb gs://[your-bucket-name]
gcloud storage buckets create gs://[your-bucket-name]
```

1. Set the default ACL on your bucket to public read in order to serve files
directly from Cloud Storage. You can do this with the [Google Cloud
SDK](https://cloud.google.com/sdk) using the following command:

```sh
gsutil defacl set public-read gs://[your-bucket-name]
gcloud storage buckets update gs://[your-bucket-name] --predefined-default-object-acl=publicRead
```

1. Update the bucket name in `src/main/appengine/app.yaml`. This makes the
Expand Down
4 changes: 2 additions & 2 deletions flexible/java-17/cloudstorage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Before you can run or deploy the sample, you will need to do the following:
SDK](https://cloud.google.com/sdk) using the following command:

```sh
gsutil mb gs://[your-bucket-name]
gcloud storage buckets create gs://[your-bucket-name]
```

1. Set the default ACL on your bucket to public read in order to serve files
directly from Cloud Storage. You can do this with the [Google Cloud
SDK](https://cloud.google.com/sdk) using the following command:

```sh
gsutil defacl set public-read gs://[your-bucket-name]
gcloud storage buckets update gs://[your-bucket-name] --predefined-default-object-acl=publicRead
```

1. Update the bucket name in `src/main/appengine/app.yaml`. This makes the
Expand Down
4 changes: 2 additions & 2 deletions flexible/java-8/cloudstorage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Before you can run or deploy the sample, you will need to do the following:
2. Create a Cloud Storage Bucket. You can do this with the [Google Cloud SDK](https://cloud.google.com/sdk) using the following command:

```
$ gsutil mb gs://[your-bucket-name]
$ gcloud storage buckets create gs://[your-bucket-name]
```
3. Set the default ACL on your bucket to public read in order to serve files directly from Cloud Storage. You can do this with the [Google Cloud SDK](https://cloud.google.com/sdk) using the following command:

```
$ gsutil defacl set public-read gs://[your-bucket-name]
$ gcloud storage buckets update gs://[your-bucket-name] --predefined-default-object-acl=publicRead
```
4. Update the bucket name in `src/main/appengine/app.yaml`. This makes the bucket name an environment variable in deployment. You still need to set the environment variable when running locally, as shown below.

Expand Down