From 3c7dc2068546effb1fed0d0050bdd87a8a3213dd Mon Sep 17 00:00:00 2001 From: Shilpa V Date: Wed, 29 Dec 2021 11:23:55 +0000 Subject: [PATCH] GitBook: [#48] Edits for MySQL, Redshift, & Snowflake --- docs/openmetadata/connectors/mysql.md | 22 +++++++--------------- docs/openmetadata/connectors/redshift.md | 22 +++++++--------------- docs/openmetadata/connectors/snowflake.md | 22 +++++++--------------- 3 files changed, 21 insertions(+), 45 deletions(-) diff --git a/docs/openmetadata/connectors/mysql.md b/docs/openmetadata/connectors/mysql.md index 8046285fdac..7edcd1dc9ff 100644 --- a/docs/openmetadata/connectors/mysql.md +++ b/docs/openmetadata/connectors/mysql.md @@ -60,33 +60,25 @@ Throughout the docs, we use a consistent directory structure, OpenMetadata serve mkdir openmetadata; cd openmetadata ``` -#### 1.2 Create a directory for this connector +#### 1.2 Create a virtual environment -Run the following command to create a directory for this connector and change into that directory. +Run the following command to create a Python virtual environment called, `env`. You can try multiple connectors in the same virtual environment. ```bash -mkdir mysql; cd mysql +python3 -m venv env ``` -#### 1.3 Create a virtual environment - -Run the following command to create a Python virtual environment called, `mysql-env`. - -```bash -python3 -m venv mysql-env -``` - -#### 1.4 Activate the virtual environment +#### 1.3 Activate the virtual environment Run the following command to activate the virtual environment. ```bash -source mysql-env/bin/activate +source env/bin/activate ``` -Once activated, you should see your command prompt change to indicate that your commands will now be executed in the environment named `mysql-env`. +Once activated, you should see your command prompt change to indicate that your commands will now be executed in the environment named `env`. -#### 1.5 Upgrade pip and setuptools to the latest versions +#### 1.4 Upgrade pip and setuptools to the latest versions Ensure that you have the latest version of pip by running the following command. If you have followed the steps above, this will upgrade pip in your virtual environment. diff --git a/docs/openmetadata/connectors/redshift.md b/docs/openmetadata/connectors/redshift.md index 72b36359551..0d24a152014 100644 --- a/docs/openmetadata/connectors/redshift.md +++ b/docs/openmetadata/connectors/redshift.md @@ -68,33 +68,25 @@ Throughout the docs, we use a consistent directory structure, OpenMetadata serve mkdir openmetadata; cd openmetadata ``` -#### 1.2 Create a directory for this connector +#### 1.2 Create a virtual environment -Run the following command to create a directory for this connector and change into that directory. +Run the following command to create a Python virtual environment called, `env`. You can try multiple connectors in the same virtual environment. ```bash -mkdir redshift; cd redshift +python3 -m venv env ``` -#### 1.3 Create a virtual environment - -Run the following command to create a Python virtual environment called, `redshift-env`. - -```bash -python3 -m venv redshift-env -``` - -#### 1.4 Activate the virtual environment +#### 1.3 Activate the virtual environment Run the following command to activate the virtual environment. ```bash -source redshift-env/bin/activate +source env/bin/activate ``` -Once activated, you should see your command prompt change to indicate that your commands will now be executed in the environment named `redshift-env`. +Once activated, you should see your command prompt change to indicate that your commands will now be executed in the environment named `env`. -#### 1.5 Upgrade pip and setuptools to the latest versions +#### 1.4 Upgrade pip and setuptools to the latest versions Ensure that you have the latest version of pip by running the following command. If you have followed the steps above, this will upgrade pip in your virtual environment. diff --git a/docs/openmetadata/connectors/snowflake.md b/docs/openmetadata/connectors/snowflake.md index 454d9979fc2..426caa5d509 100644 --- a/docs/openmetadata/connectors/snowflake.md +++ b/docs/openmetadata/connectors/snowflake.md @@ -60,33 +60,25 @@ Throughout the docs, we use a consistent directory structure, OpenMetadata serve mkdir openmetadata; cd openmetadata ``` -#### 1.2 Create a directory for this connector +#### 1.2 Create a virtual environment -Run the following command to create a directory for this connector and change into that directory. +Run the following command to create a Python virtual environment called, `env`. You can try multiple connectors in the same virtual environment. ```bash -mkdir snowflake; cd snowflake +python3 -m venv env ``` -#### 1.3 Create a virtual environment - -Run the following command to create a Python virtual environment called, `snowflake-env`. - -```bash -python3 -m venv snowflake-env -``` - -#### 1.4 Activate the virtual environment +#### 1.3 Activate the virtual environment Run the following command to activate the virtual environment. ```bash -source snowflake-env/bin/activate +source env/bin/activate ``` -Once activated, you should see your command prompt change to indicate that your commands will now be executed in the environment named `snowflake-env`. +Once activated, you should see your command prompt change to indicate that your commands will now be executed in the environment named `env`. -#### 1.5 Upgrade pip and setuptools to the latest versions +#### 1.4 Upgrade pip and setuptools to the latest versions Ensure that you have the latest version of pip by running the following command. If you have followed the steps above, this will upgrade pip in your virtual environment.