mirror of
https://github.com/DanCorley/orange_theory_data_stack.git
synced 2025-12-18 22:19:37 -06:00
main
better pinning for packages with pip-tools
otf_pipeline
a full setup to capture and analyze orange theory workout data - dlt, deltalake, duckdb, dbt, metabase, docker
get up and running in only a few simple steps!
# after pulling REFRESH_TOKEN_AUTH from Proxyman via OTF app
# create a virtual environment to work in
> make venv
# use dlt to download all data to deltatable files + create dbt models in duckdb
> python otf_pipeline.py
# download the duckdb metabase driver and build docker image
> make build
# copy .env.example to .env and add modify database credentials
# run metabase! visit http://localhost:3000 for your instance
> make up
# and to shut it down
> make down
# modify metabase credentials in dbt/dbt_metabase_config.yml
# create primary / foreign key relationships in metabase
> make dbt-metabase
Wants to have:
- [] how to pull authorization with Proxyman
- data extraction with dlt
- transofrmations with dbt and duckdb
- dockerize duckdb-metabase
- [] data dashboard insights in metabase
Description
a full setup to capture and analyze orange theory workout data - python, duckdb, dbt, metabase, docker
Languages
Python
88.8%
Makefile
8.6%
Dockerfile
2.6%