Commit 06116adb authored by Luis G Garcia's avatar Luis G Garcia Committed by Commit Bot

Update README to describe GCP bucket creation.

Update README.chromium to include instructions on creating a cloud
bucket such as "chromium-webxr-test".

Change-Id: I0e3e575be60d35436246dc6e67eb8cb104742552
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2314198Reviewed-by: default avatarKlaus Weidner <klausw@chromium.org>
Commit-Queue: Luis Garcia <luisggarcia@google.com>
Cr-Commit-Position: refs/heads/master@{#791899}
parent 8e164bbe
......@@ -51,3 +51,31 @@ To publish samples for OT:
2. Serve <dest-folder> locally and make sure everything works.
3. python update_bucket.py --direct-publish-samples-source=<dest-folder> --direct-publish-samples-dest=<bucket-dest-subfolder>
To create a Google Cloud WebXR-Samples bucket:
1. Navigate to the Google Cloud console at https://console.cloud.google.com/
2. Navigate to storage, and click "Create Bucket"
3. Name the bucket, and set it's configuration to use a Multi-region location type, and uniform
access control.
4. (Optional) Grant the bucket public access:
a. Select your bucket from the storage browser
b. Click "Permissions"
c. Click "Add"
d. Add the member "allUsers" with the role "Storage Object Viewer"
e. Add the member "allAuthenticatedUsers" with the role "Storage Object Viewer"
f. Accept the prompt notifying you that you will make the bucket public to the internet.
5. Select a project as bucket owner. (If this is not the default 'chromium-webxr-test'
use `update_bucket.py --bucket gs://PROJECT_ID` in the steps below to override its default.)
6. Create a "media" folder at the top level directory of your bucket, this folder should contain a
copy of https://github.com/immersive-web/webxr-samples/tree/master/media
7. Verify the changes are working as intended by navigating to your bucket's index's public access
URL.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment