Skip to content

Commit

Permalink
[du-dbt] adding starter project to quickstart templates (DEV-168) (#2…
Browse files Browse the repository at this point in the history
…0308)

## Summary & Motivation

## How I Tested These Changes
  • Loading branch information
tacastillo authored Apr 5, 2024
1 parent 40cdf5e commit b94fcd9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ To complete this course, you’ll need:
python --version
pip --version
```
- **To install `dagster` locally.** We'll be using part of the Dagster CLI to generate a project for us, so we'll need to install it first. Run the following:

```shell
pip install dagster
dagster --version
```

---

Expand All @@ -30,5 +36,5 @@ Even if you’ve already completed the Dagster Essentials course, you should sti
Run the following to clone the project:

```bash
git clone https://github.com/dagster-io/project-dagster-university -b module/dagster-and-dbt-starter dagster-and-dbt
dagster project from-example --name project-dagster-university --example project_du_dbt_starter
```
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ After downloading the Dagster University project, you’ll need to make a few ch

First, you’ll add a few additional dependencies to the project:

- `dagster-dbt` - Dagster’s integration library for dbt. This will also install `dbt-core` and `dagster` as dependencies.
- `dagster-dbt` - Dagster’s integration library for dbt. This will also install `dbt-core` as a dependency.
- `dbt-duckdb` - A library for using dbt with DuckDB, which we’ll use to store the dbt models we create

Locate the `setup.py` file in the root of the Dagster University project. Open the file and replace it with the following:
Expand Down
6 changes: 4 additions & 2 deletions examples/project_du_dbt_starter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# dagster_university
## Dagster University: Dagster + dbt

This is a [Dagster](https://dagster.io/) project made to accompany Dagster University coursework.
This is the **starter** version of the [Dagster](https://dagster.io/) project made to accompany Dagster University's [Dagster + dbt course](https://courses.dagster.io/courses/dagster-dbt).

> **Looking for the finished project for the Dagster + dbt course?** Use the [`module/dagster-and-dbt` branch](https://github.com/dagster-io/project-dagster-university/tree/module/dagster-and-dbt).
## Getting started

Expand Down
2 changes: 1 addition & 1 deletion examples/project_du_dbt_starter/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name="dagster_university",
packages=find_packages(exclude=["dagster_university_tests"]),
install_requires=[
"dagster==1.5.*",
"dagster==1.6.*",
"dagster-cloud",
"dagster-duckdb",
"dagster-dbt",
Expand Down

1 comment on commit b94fcd9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for dagster-university ready!

✅ Preview
https://dagster-university-ausnwh27o-elementl.vercel.app

Built with commit b94fcd9.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.