From 3d7e58cb455072932e581265e30cefe441e2a340 Mon Sep 17 00:00:00 2001 From: terribleplan Date: Sun, 16 Apr 2017 15:40:25 -0500 Subject: [PATCH] Final changes once I completed our migration --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 428a18a..aa016a7 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ You can build that folder structure by: 3. Run the script `node move-media ../path/to/live .` (Puts the images directory here). You can run the above command with `--dry-run` to see the output of what the command will do if you don't trust the code. -Once that folder has been built you can just use [Google's CLI](https://cloud.google.com/sdk/), `gsutil`, to upload that folder. +Once that folder has been built you can just use [Google's CLI](https://cloud.google.com/sdk/), `gsutil`, to upload that folder and set the ACL to public. (`gsutil -m cp -r images gs://media.nrd.li && gsutil -m acl ch -r -u AllUsers:R gs://media.nrd.li`) -You probably want to do this twice, once before you reconfigure your instance, and once again after so that you can be sure all media has been uploaded to cloud storage. +You probably want to do this step twice, once before you reconfigure your instance, and once again after so that you can be sure all media has been uploaded to cloud storage. I'm sure there's a way to sync the directory, but ingress is free so I just uploaded it all twice. Setting it up so you can see images -----------------------------------