![]() ![]() ![]() Finally, we are running the container in the background with the -d flag. We are also binding exposing the container’s 5432 port to our host machine on port 3003. #METABASE GITHUB PASSWORD#We are also setting the database password by passing an environment variable of POSTGRES_PASSWORD to a value of password. #METABASE GITHUB DOWNLOAD#If you are running the above command for the first time, it will download the Postgres image from Docker Hub registry and then run it as a container with the name of github-destination. To set this up, we will be running a postgres container via docker like so: docker run -rm -name github-destination -e POSTGRES_PASSWORD=password -p 3003:5432 -d postgres This database will be the destination for the data coming in from GitHub. After it’s done, you can access Airbyte at (you can go ahead and set up your preference, then leave the Airbyte web app open as we will come back to it shortly) Setting up a Postgres database The above command will create and start the Airbyte containers. Or if you are on the newest version of the Docker CLI you can run: docker compose up You will need to go into the cloned airbyte repo by running cd airbyte and then you run: docker-compose up ![]() Then, open a terminal, and go to a location you want to download Airbyte in and run: git clone To set up Airbyte on your machine, make sure you have Docker and Docker compose set-up, as well as git. You can skip this step if you already have Airbyte on your machine. Step 1: Replicating Data from GitHub to Postgres with Airbyte Setting up Airbyte We will then connect this database to Metabase in order to create the activity dashboard. We are going to use this connector to get the data of the airbyte repo and copy them into a Postgres database destination. In this article, we will be leveraging Airbyte - an open-source data integration platform and Metabase - an open-source open source way for everyone in your company to ask questions and learn from data - to build the GitHub activity dashboard above.Īirbyte provides us with a rich set of source connectors, and one of those is the GitHub connector which allows us to get data off a GitHub repo. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |