From 9f01e7eda3f0f44c51a367a4caf13b25d0e95550 Mon Sep 17 00:00:00 2001 From: AngeloAISquared Date: Tue, 5 Nov 2024 20:54:33 -0500 Subject: [PATCH 1/3] fix: replaced urls for docker-compose and .env.example files --- open-source/guides/setup/docker-compose.mdx | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/open-source/guides/setup/docker-compose.mdx b/open-source/guides/setup/docker-compose.mdx index aa9d9b2..5aefb67 100644 --- a/open-source/guides/setup/docker-compose.mdx +++ b/open-source/guides/setup/docker-compose.mdx @@ -27,22 +27,22 @@ Multiwoven can be deployed using two different options for PostgreSQL database. mkdir multiwoven cd multiwoven ``` - 2. Download the production `docker-compose.yml` file from the following link. + 2. Download the production `docker-compose.yaml` file from the following link. ```bash - curl -LO https://multiwoven-deployments.s3.amazonaws.com/docker/docker-compose/docker-compose.yaml + curl -LO https://aiseepublicstorage.blob.core.windows.net/mw-public-main/docker-compose.yaml ``` - 3. Download the `.env.production` file from the following link. + 3. Download the `.env.example` file from the following link. ```bash - curl -LO https://multiwoven-deployments.s3.amazonaws.com/docker/docker-compose/.env.production + curl -LO https://aiseepublicstorage.blob.core.windows.net/mw-public-main/.env.example ``` - 4. Rename the file .env.production to .env and update the environment variables if required. + 4. Rename the file .env.example to .env and update the environment variables if required. ```bash - mv .env.production .env + mv .env.example .env ``` 5. Start the Multiwoven using the following command. @@ -66,7 +66,7 @@ Multiwoven can be deployed using two different options for PostgreSQL database. ```bash docker-compose pull && docker-compose up -d ``` - Make sure to run the above command from the same directory where the `docker-compose.yml` file is present. + Make sure to run the above command from the same directory where the `docker-compose.yaml` file is present. @@ -77,12 +77,12 @@ Multiwoven can be deployed using two different options for PostgreSQL database. mkdir multiwoven cd multiwoven ``` - 2. Download the production `docker-compose.yml` file from the following link. + 2. Download the production `docker-compose.yaml` file from the following link. ```bash - curl -LO https://multiwoven-deployments.s3.amazonaws.com/docker/docker-compose/docker-compose-cloud-postgres.yaml + curl -LO https://aiseepublicstorage.blob.core.windows.net/mw-public-main/docker-compose.yaml ``` - 3. Rename the file .env.production to .env and update the **PostgreSQL** environment variables. + 3. Rename the file .env.example to .env and update the **PostgreSQL** environment variables. ```DB_HOST``` - Database Host @@ -93,7 +93,7 @@ Multiwoven can be deployed using two different options for PostgreSQL database. The default port for PostgreSQL is 5432. If you are using a different port, update the ```DB_PORT``` environment variable. ```bash - mv .env.production .env + mv .env.example .env ``` 4. Start the Multiwoven using the following command. From cd94c50d274687392d7144866aed938ef6ab33ae Mon Sep 17 00:00:00 2001 From: AngeloAISquared Date: Wed, 6 Nov 2024 16:52:12 -0500 Subject: [PATCH 2/3] fix: add download verification --- open-source/guides/setup/docker-compose.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/open-source/guides/setup/docker-compose.mdx b/open-source/guides/setup/docker-compose.mdx index 5aefb67..183b9bf 100644 --- a/open-source/guides/setup/docker-compose.mdx +++ b/open-source/guides/setup/docker-compose.mdx @@ -30,13 +30,13 @@ Multiwoven can be deployed using two different options for PostgreSQL database. 2. Download the production `docker-compose.yaml` file from the following link. ```bash - curl -LO https://aiseepublicstorage.blob.core.windows.net/mw-public-main/docker-compose.yaml + curl -LO https://aiseepublicstorage.blob.core.windows.net/mw-public-main/docker-compose.yaml && echo "Downloaded docker-compose.yaml successfully" || echo "Failed to download docker-compose.yaml" ``` 3. Download the `.env.example` file from the following link. ```bash - curl -LO https://aiseepublicstorage.blob.core.windows.net/mw-public-main/.env.example + curl -LO https://aiseepublicstorage.blob.core.windows.net/mw-public-main/.env.example && echo "Downloaded .env.example successfully" || echo "Failed to download .env.example" ``` 4. Rename the file .env.example to .env and update the environment variables if required. @@ -80,7 +80,7 @@ Multiwoven can be deployed using two different options for PostgreSQL database. 2. Download the production `docker-compose.yaml` file from the following link. ```bash - curl -LO https://aiseepublicstorage.blob.core.windows.net/mw-public-main/docker-compose.yaml + curl -LO https://aiseepublicstorage.blob.core.windows.net/mw-public-main/docker-compose.yaml && echo "Downloaded docker-compose.yaml successfully" || echo "Failed to download docker-compose.yaml" ``` 3. Rename the file .env.example to .env and update the **PostgreSQL** environment variables. From 6ecc1e3d16e7563d8b7dafe1e87b7db0146fb6f7 Mon Sep 17 00:00:00 2001 From: AngeloAISquared Date: Wed, 6 Nov 2024 16:53:52 -0500 Subject: [PATCH 3/3] fix: print vars after renaming env vars file --- open-source/guides/setup/docker-compose.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/open-source/guides/setup/docker-compose.mdx b/open-source/guides/setup/docker-compose.mdx index 183b9bf..1888d09 100644 --- a/open-source/guides/setup/docker-compose.mdx +++ b/open-source/guides/setup/docker-compose.mdx @@ -42,7 +42,7 @@ Multiwoven can be deployed using two different options for PostgreSQL database. 4. Rename the file .env.example to .env and update the environment variables if required. ```bash - mv .env.example .env + mv .env.example .env && cat .env ``` 5. Start the Multiwoven using the following command. @@ -93,7 +93,7 @@ Multiwoven can be deployed using two different options for PostgreSQL database. The default port for PostgreSQL is 5432. If you are using a different port, update the ```DB_PORT``` environment variable. ```bash - mv .env.example .env + mv .env.example .env && cat .env ``` 4. Start the Multiwoven using the following command.