Skip to content

Commit

Permalink
Release staging into main: Updated and simplified REAME w Intro Video (
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenwindflower authored Apr 13, 2024
2 parents d099f4d + e2387f7 commit 3381f48
Show file tree
Hide file tree
Showing 9 changed files with 153,975 additions and 113 deletions.
189 changes: 90 additions & 99 deletions README.md

Large diffs are not rendered by default.

25 changes: 13 additions & 12 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
version: "3"

silent: true

vars:
YEARS: 6
DB: bigquery

tasks:
venv:
cmds:
- python3 -m venv .venv
silent: true

install:
cmds:
- source .venv/bin/activate && python3 -m pip install --upgrade pip --progress-bar off > /dev/null
- source .venv/bin/activate && python3 -m pip install -r requirements.txt --progress-bar off > /dev/null
silent: true
- source .venv/bin/activate && python3 -m pip install dbt-core dbt-{{.DB}} > /dev/null

gen:
cmds:
- source .venv/bin/activate && jafgen
silent: true
- source .venv/bin/activate && jafgen {{.YEARS}}

build:
seed:
cmds:
- dbt deps
- dbt seed
- dbt run
- dbt test
- source .venv/bin/activate && dbt seed

clean:
cmds:
- rm -rf jaffle-data
silent: true
- source .venv/bin/activate && python3 -m pip uninstall dbt-core dbt-{{.DB}} -y

setup:
load:
cmds:
- task: venv
- task: install
- task: gen
- task: build
- task: seed
- task: clean
4 changes: 2 additions & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ require-dbt-version: ">=1.5.0"
dbt-cloud:
project-id: 275557 # Put your project id here

profile: default
profile: default # Put your profile here

model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["data-tests"]
seed-paths: ["jaffle-data", "seeds"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]

Expand Down
936 changes: 936 additions & 0 deletions jaffle-data/raw_customers.csv

Large diffs are not rendered by default.

90,901 changes: 90,901 additions & 0 deletions jaffle-data/raw_items.csv

Large diffs are not rendered by default.

61,949 changes: 61,949 additions & 0 deletions jaffle-data/raw_orders.csv

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions jaffle-data/raw_products.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
sku,name,type,price,description
JAF-001,nutellaphone who dis?,jaffle,1100,nutella and banana jaffle
JAF-002,doctor stew,jaffle,1100,house-made beef stew jaffle
JAF-003,the krautback,jaffle,1200,lamb and pork bratwurst with house-pickled cabbage sauerkraut and mustard
JAF-004,flame impala,jaffle,1400,"pulled pork and pineapple al pastor marinated in ghost pepper sauce, kevin parker's favorite! "
JAF-005,mel-bun,jaffle,1200,"melon and minced beef bao, in a jaffle, savory and sweet"
BEV-001,tangaroo,beverage,600,mango and tangerine smoothie
BEV-002,chai and mighty,beverage,500,oatmilk chai latte with protein boost
BEV-003,vanilla ice,beverage,600,iced coffee with house-made french vanilla syrup
BEV-004,for richer or pourover ,beverage,700,daily selection of single estate beans for a delicious hot pourover
BEV-005,adele-ade,beverage,400,"a kiwi and lime agua fresca, hello from the other side of thirst"
7 changes: 7 additions & 0 deletions jaffle-data/raw_stores.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
id,name,opened_at,tax_rate
4b6c2304-2b9e-41e4-942a-cf11a1819378,Philadelphia,2016-09-01T00:00:00,0.06
40e6ddd6-b8f6-4e17-8bd6-5e53966809d2,Brooklyn,2017-03-12T00:00:00,0.04
1ce7ac35-d296-4e34-89c4-bf92aa2fe751,Chicago,2018-04-29T00:00:00,0.0625
39b38c24-679d-4217-b676-a4a0e64c8477,San Francisco,2018-05-09T00:00:00,0.075
09fdfbaf-3ec6-408d-93f4-1efc535d9938,New Orleans,2019-03-10T00:00:00,0.04
da506490-1e2f-4fe8-8426-f1eee65af28a,Los Angeles,2019-09-13T00:00:00,0.08
66 changes: 66 additions & 0 deletions jaffle-data/raw_supplies.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
id,name,cost,perishable,sku
SUP-001,compostable cutlery - knife,7,False,JAF-001
SUP-002,cutlery - fork,7,False,JAF-001
SUP-003,serving boat,11,False,JAF-001
SUP-004,napkin,4,False,JAF-001
SUP-009,bread,33,True,JAF-001
SUP-011,nutella,46,True,JAF-001
SUP-012,banana,13,True,JAF-001
SUP-001,compostable cutlery - knife,7,False,JAF-002
SUP-002,cutlery - fork,7,False,JAF-002
SUP-003,serving boat,11,False,JAF-002
SUP-004,napkin,4,False,JAF-002
SUP-009,bread,33,True,JAF-002
SUP-010,cheese,20,True,JAF-002
SUP-013,beef stew,169,True,JAF-002
SUP-001,compostable cutlery - knife,7,False,JAF-003
SUP-002,cutlery - fork,7,False,JAF-003
SUP-003,serving boat,11,False,JAF-003
SUP-004,napkin,4,False,JAF-003
SUP-009,bread,33,True,JAF-003
SUP-010,cheese,20,True,JAF-003
SUP-014,lamb and pork bratwurst,234,True,JAF-003
SUP-015,house-pickled cabbage sauerkraut,43,True,JAF-003
SUP-016,mustard,7,True,JAF-003
SUP-001,compostable cutlery - knife,7,False,JAF-004
SUP-002,cutlery - fork,7,False,JAF-004
SUP-003,serving boat,11,False,JAF-004
SUP-004,napkin,4,False,JAF-004
SUP-009,bread,33,True,JAF-004
SUP-010,cheese,20,True,JAF-004
SUP-017,pulled pork,215,True,JAF-004
SUP-018,pineapple,26,True,JAF-004
SUP-021,ghost pepper sauce,20,True,JAF-004
SUP-001,compostable cutlery - knife,7,False,JAF-005
SUP-002,cutlery - fork,7,False,JAF-005
SUP-003,serving boat,11,False,JAF-005
SUP-004,napkin,4,False,JAF-005
SUP-009,bread,33,True,JAF-005
SUP-010,cheese,20,True,JAF-005
SUP-019,melon,33,True,JAF-005
SUP-020,minced beef,124,True,JAF-005
SUP-005,16oz compostable clear cup,13,False,BEV-001
SUP-006,16oz compostable clear lid,4,False,BEV-001
SUP-007,biodegradable straw,13,False,BEV-001
SUP-022,mango,32,True,BEV-001
SUP-023,tangerine,20,True,BEV-001
SUP-005,16oz compostable clear cup,13,False,BEV-002
SUP-006,16oz compostable clear lid,4,False,BEV-002
SUP-007,biodegradable straw,13,False,BEV-002
SUP-008,chai mix,98,True,BEV-002
SUP-024,oatmilk,11,True,BEV-002
SUP-025,whey protein,36,True,BEV-002
SUP-005,16oz compostable clear cup,13,False,BEV-003
SUP-006,16oz compostable clear lid,4,False,BEV-003
SUP-007,biodegradable straw,13,False,BEV-003
SUP-026,coffee,52,True,BEV-003
SUP-027,french vanilla syrup,72,True,BEV-003
SUP-005,16oz compostable clear cup,13,False,BEV-004
SUP-006,16oz compostable clear lid,4,False,BEV-004
SUP-007,biodegradable straw,13,False,BEV-004
SUP-026,coffee,52,True,BEV-004
SUP-005,16oz compostable clear cup,13,False,BEV-005
SUP-006,16oz compostable clear lid,4,False,BEV-005
SUP-007,biodegradable straw,13,False,BEV-005
SUP-028,kiwi,20,True,BEV-005
SUP-029,lime,13,True,BEV-005

0 comments on commit 3381f48

Please sign in to comment.