@@ -10,15 +10,26 @@ A portable data-stack with:
10
10
# Draft
11
11
- requisites
12
12
- cuenta demo de piwikpro
13
- - crear conectar service account
13
+ - crear conectar service account. Add your service_account.json file in /reporting path
14
14
- crear un sheets vacío, darle acceso al mail del service account
15
15
- crear un data studio y conectarlo al sheets (hablar de caveats si se pierde la hoja)
16
16
- duckdb / Docker Desktop
17
+ - rename .env.example to .env and fill in your values
17
18
18
19
## Steps
19
20
- make build
20
21
- make run (generate data, save to duckdb, run dbt and export to sheets) -> container will keep running
21
22
- 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
+
22
33
- make duckdb-files (if you want to query data)
23
34
- make duckdb (query duckdb)
24
35
@@ -29,4 +40,4 @@ A portable data-stack with:
29
40
30
41
- make clean (removes all generated files)
31
42
32
- - To run in Github Actions, create secrets
43
+ - To run in Github Actions, create your secrets for the .env file
0 commit comments