🎥 Make videos programmatically with React
updated curl commands
Matt McGillivrayabb31dde685e
diff --git a/packages/docs/docs/cloudrun/generateEnvFile.md b/packages/docs/docs/cloudrun/generateEnvFile.mdindex 8c7e77a763..afef617292 100644--- a/packages/docs/docs/cloudrun/generateEnvFile.md+++ b/packages/docs/docs/cloudrun/generateEnvFile.md@@ -18,12 +18,18 @@ GCP allows a maximum of 10 keys per service account. If you have already created<img src="/img/cloudrun/selectCloudShell.jpg" width="200" />-3. Within the Cloud Shell, type the following command, and select option 3. Follow the remaining prompts.+3. Within the Cloud Shell, type the following command and follow the prompts.```bash- curl --remote-name-all https://raw.githubusercontent.com/UmungoBungo/remotion/gcp-lambda-alternative/packages/cloudrun/installer.zip && node install.mjs+ curl -L https://raw.githubusercontent.com/UmungoBungo/remotion/gcp-lambda-alternative/packages/cloudrun/gcpInstaller/gcpInstaller.tar | tar -x --strip-components=1 -C . && node install.mjs```+ _The first command downloads a tar file from the Remotion repo, and extracts it to the current directory. The second command runs the installer script._+ If you want to generate a new .env file, or manage keys already created, you will want to select option 3.++ If this is the first time [initialising Remotion in the GCP project](./setup.md), you will want to select option 1.+ If you are [updating the version of Remotion for this GCP project](./updateGcpProject.md), you will want to select option 2.+<!-- ToDo - host this in the official Remotion repo -->4. Download the .env file by clicking the vertical ellipsis, in the top right of the cloud shell window, and selecting Download. Then type .env at the end of the prefilled path, and click DOWNLOAD;diff --git a/packages/docs/docs/cloudrun/setup.md b/packages/docs/docs/cloudrun/setup.mdindex 38b9c24534..aca9d8e69e 100644--- a/packages/docs/docs/cloudrun/setup.md+++ b/packages/docs/docs/cloudrun/setup.md@@ -89,12 +89,15 @@ This means that you can pull in a script that runs a couple of gcloud and Terraf2. Within the Cloud Shell, type the following command and follow the prompts.```bash- curl --remote-name-all https://raw.githubusercontent.com/UmungoBungo/remotion/gcp-lambda-alternative/packages/cloudrun/{terraform/main.tf,install.mjs} && node install.mjs+ curl -L https://raw.githubusercontent.com/UmungoBungo/remotion/gcp-lambda-alternative/packages/cloudrun/gcpInstaller/gcpInstaller.tar | tar -x --strip-components=1 -C . && node install.mjs```- If this is the first time initialising Remotion in the GCP project, you will want to select option 1.- If you are updating the version of Remotion for this GCP project, you will want to select option 2.- If you want to generate a new .env file, or manage keys already created, you will want to select option 3.+ _The first command downloads a tar file from the Remotion repo, and extracts it to the current directory. The second command runs the installer script._++ If this is the first time initialising Remotion in the GCP project, you will want to select option 1.++ If you are [updating the version of Remotion for this GCP project](./updateGcpProject.md), you will want to select option 2.+ If you want to [generate a new .env file](./generateEnvFile.md), or manage keys already created, you will want to select option 3.<!-- ToDo - host this in the official Remotion repo -->3. Download the .env file by clicking the vertical ellipsis, in the top right of the cloud shell window, and selecting Download. Then type .env at the end of the prefilled path, and click DOWNLOAD;diff --git a/packages/docs/docs/cloudrun/updateGcpProject.md b/packages/docs/docs/cloudrun/updateGcpProject.mdindex 23446b3e80..0ff92d0a1e 100644--- a/packages/docs/docs/cloudrun/updateGcpProject.md+++ b/packages/docs/docs/cloudrun/updateGcpProject.md@@ -14,12 +14,18 @@ The permissions on the Service Account role may change as Remotion evolves in th<img src="/img/cloudrun/selectCloudShell.jpg" width="200" />-3. Within the Cloud Shell, type the following command, and select option 2. Follow the remaining prompts.+3. Within the Cloud Shell, type the following command and follow the prompts.```bash- curl --remote-name-all https://raw.githubusercontent.com/UmungoBungo/remotion/gcp-lambda-alternative/packages/cloudrun/{terraform/main.tf,install.mjs} && node install.mjs+ curl -L https://raw.githubusercontent.com/UmungoBungo/remotion/gcp-lambda-alternative/packages/cloudrun/gcpInstaller/gcpInstaller.tar | tar -x --strip-components=1 -C . && node install.mjs```+ _The first command downloads a tar file from the Remotion repo, and extracts it to the current directory. The second command runs the installer script._++ If you are updating the version of Remotion for this GCP project, you will want to select option 2.++ If this is the first time [initialising Remotion in the GCP project](./setup.md), you will want to select option 1.+ If you want to [generate a new .env file](./generateEnvFile.md), or manage keys already created, you will want to select option 3.<!-- ToDo - host this in the official Remotion repo -->4. Download the .env file by clicking the vertical ellipsis, in the top right of the cloud shell window, and selecting Download. Then type .env at the end of the prefilled path, and click DOWNLOAD;