Skip to content

Commit

Permalink
edit readme files
Browse files Browse the repository at this point in the history
  • Loading branch information
dell-datascience committed Jun 28, 2024
1 parent 2322277 commit eb9b4b4
Show file tree
Hide file tree
Showing 6 changed files with 2,254 additions and 2,255 deletions.
16 changes: 8 additions & 8 deletions notes/1_introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ A **data pipeline** is a service that receives data as input and outputs more da
Such as reading a json file, transforming the data and storing it as a table
in a PostgreSQL database.

![alt text](/images/image-117.png)
![alt text](../images/image-117.png)

<p align='center'> Data pipeline</p>

Expand Down Expand Up @@ -204,7 +204,7 @@ docker run -it \
postgres:13
```

![alt text](/images/image-118.png)
![alt text](../images/image-118.png)

<p align='center'>postgresSQL docker execution</p>

Expand Down Expand Up @@ -333,7 +333,7 @@ docker run -it \
--name pg-database \
postgres:13
```
![alt text](/images/image-119.png)
![alt text](../images/image-119.png)
<p align='center'> Succesfull run of postgreSQL docker</p>


Expand Down Expand Up @@ -364,17 +364,17 @@ URL: [`http://localhost:8080/browser/`](http://localhost:8080/browser/)
You should now be able to load pgAdmin on a web browser by browsing to [localhost:8080 ](http://localhost:8080/browser/).
Use the same email and password you used for running the container to log in.

![alt text](/images/image-120.png)
![alt text](../images/image-120.png)
<p align='center'> pgadmin landing page</p>

Click tool -> register -> servers
![alt text](/images/image-121.png)
![alt text](../images/image-121.png)
<p align='center'>creating database login</p>

Give the Server a name and under Connection add the same host name, user and password you used when running the container.

![alt text](/images/image-122.png)
![alt text](/images/image-123.png)
![alt text](../images/image-122.png)
![alt text](../images/image-123.png)

Click on Save. You should now be connected to the database.

Expand All @@ -385,7 +385,7 @@ ___

Open the jupyter noteboook and run the cells to execute the codes.

![alt text](/images/image-124.png)
![alt text](../images/image-124.png)
<p align='center'>Data successfull read into ny-taxi databse</p>


Expand Down
6 changes: 3 additions & 3 deletions notes/2_data_ingestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ docker compose up

Now, navigate to <http://localhost:6789> in your browser! Voila! You're ready to get started with the course.

![alt text](/images/image-91.png)
![alt text](../images/image-91.png)

## define docker postgress connector in `io_config.yml` in mage files. the postgres instance is defined in docker

Expand All @@ -289,8 +289,8 @@ dev:
POSTGRES_PORT: "{{ env_var('POSTGRES_PORT') }}"
```
![alt text](/images/image-93.png)
![alt text](../images/image-93.png)
<p align='center'>specifying the postgress connector</p>
![alt text](/images/image-94.png)
![alt text](../images/image-94.png)
<p align='center'>testing the docker postgres connection</p>
Loading

0 comments on commit eb9b4b4

Please sign in to comment.