Skip to content

Commit

Permalink
chore: 🚚 move to portal folder
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgasquez committed Dec 11, 2023
1 parent 3da10dd commit 8615a56
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
16 changes: 9 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@ dev:
dagster dev -m datadex.dag

preview:
quarto preview
quarto preview portal

docs:
dbt-docs:
cd dbt && dbt docs generate --profiles-dir .
mkdir -p dbt/target/docs
cp dbt/target/*.json dbt/target/index.html dbt/target/graph.gpickle dbt/target/docs/

render: docs
quarto render
quarto render README.md -M output-file:index
cp -r dbt/target/docs/ .quarto/output/docs
render: run dbt-docs
cp README.md portal/README.md
quarto render portal
cd portal && quarto render README.md -M output-file:index
cp -r dbt/target/docs/ portal/.quarto/output/dbt
rm portal/README.md

clean:
rm -rf data/*.parquet data/*.duckdb
rm -rf .quarto
rm -rf dbt/target dbt/dbt_packages dbt/logs
rm -rf portal/.quarto
1 change: 1 addition & 0 deletions portal/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.quarto/
2 changes: 1 addition & 1 deletion _quarto.yml β†’ portal/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ website:
left:
- text: dbt Docs
icon: sun
file: docs
file: dbt/docs
- text: Dashboard
icon: clipboard-data
href: dashboard.html
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8615a56

Please sign in to comment.