Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.39 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.39 KB

🚀 Transform layer

The transform layer of the data pipeline is constructed using dbt and duckdb.

👷‍♂️ Setup

🔧 Local development

In order to create a working environment, the docker is used. To start it, please, follow the next steps.

  1. Launch the docker daemon.
  2. Get to the repository root folder: cd transform/
  3. Build the docker image with a proper tag: docker build --build-arg S3_ACCESS_KEY_ID=foo --build-arg S3_SECRET_ACCESS_KEY=foo --tag ffc-be-transform:latest -f DockerfileDev .
  4. Run docker container: docker run -it -p 8080:8080 -v $(pwd):/usr/src/app ffc-be-transform:latest /bin/bash
  5. Run dbt transformation inside the docker container. For example: dbt run --select +fact_standings --target prod
  6. To view the documentation, generate it using dbt docs generate && dbt docs serve Then, navigate to http://localhost:8080 to access the documentation.

🔗 Links

  • dbt docs to learn more about the tool
  • dbt discourse for commonly asked questions and answers
  • dbt slack for live discussions and support
  • dbt blog for the latest news on dbt's development and best practices
  • duckdb docs to learn more about the tool