GitBook: [#48] Edits for MySQL, Redshift, & Snowflake

This commit is contained in:
Shilpa V 2021-12-29 11:23:55 +00:00 committed by Sriharsha Chintalapani
parent 5f82fe48ad
commit 3c7dc20685
3 changed files with 21 additions and 45 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.