@@ -10,15 +10,26 @@ A portable data-stack with:
1010# Draft
1111- requisites
1212 - cuenta demo de piwikpro
13- - crear conectar service account
13+ - crear conectar service account. Add your service_account.json file in /reporting path
1414 - crear un sheets vacío, darle acceso al mail del service account
1515 - crear un data studio y conectarlo al sheets (hablar de caveats si se pierde la hoja)
1616 - duckdb / Docker Desktop
17+ - rename .env.example to .env and fill in your values
1718
1819## Steps
1920- make build
2021- make run (generate data, save to duckdb, run dbt and export to sheets) -> container will keep running
2122- connect data studio to sheets
23+
24+ # if you want to query data
25+
26+ Uncomment line 45, 46, 47 and replace the command value with:
27+
28+ ```sh
29+ sh -c "python model_export.py && tail -f /dev/null
30+ ```
31+ This will leave the container open so you can copy the files to query.
32+
2233- make duckdb-files (if you want to query data)
2334- make duckdb (query duckdb)
2435
@@ -29,4 +40,4 @@ A portable data-stack with:
2940
3041- make clean (removes all generated files)
3142
32- - To run in Github Actions, create secrets
43+ - To run in Github Actions, create your secrets for the .env file
0 commit comments