Set up local
- To install git. Refer to the Git documentation if you don’t have this installed.
- To have Python installed. Dagster supports Python 3.9 - 3.12.
- To install a package manager. To manage the python packages, we recommend
uv
which Dagster uses internally.
Clone the Dagster University project
Clone the Github repository. The command will depend on if you choose to clone with ssh or https.
ssh
git clone git@github.com:dagster-io/project-dagster-university.git
https
git clone https://github.com/dagster-io/project-dagster-university.git
After cloning the Dagster University project, you’ll want to navigate to specific course within the repository.
cd dagster_university/dagster_essentials
Install the dependencies
uv
To install the python dependencies with uv.
uv sync
This will create a virtual environment that you can now use.
source .venv/bin/activate
pip
Create the virtual environment.
python3 -m venv .venv
Enter the virtual environment.
source .venv/bin/activate
Install the packages.
pip install -e ".[dev]"
Create .env file
You will want to make a copy of the example file .env.example
which will be used later on.
cp .env.example .env