Quickstart (Dagster Example)¶
This basic example should help you get up and running with local Dagster development and serve as a blueprint for integration with existing repos. It is highly recommended that you complete the Dagster quickstart tutorial (~10 mins) before following these steps to familiarize yourself with basic Dagster concepts and the UI.
Running an example¶
To get started with local Dagster development, clone the cfa-dagster repository and check out the examples. Running the example will automatically install the necessary dependencies into a virtual environment and activate it.
- Now that you've cloned the repo and have entered the
examples/directory, start the Dagster UI by runninguv run dagster_defs.pyand clicking the link in your terminal (usually http://127.0.0.1:4000/) - Build your image by navigating to the build_image_job and clicking
Launch Runin the bottom right -
Materialize an asset!
- In the Dagster UI, navigate to the Lineage page and click
basic_blob_asset. (Here if you are on the default port 4000) - Click
Materialize selectedand watch for your run to start on the Asset sidebar - Click
View Logson the Asset sidebar to monitor progress (stdout & stderr available!)
- In the Dagster UI, navigate to the Lineage page and click
Next steps¶
- Try materializing partitioned_r_asset
- Try materializing multiple assets at once
-
Try materializing your Asset on Azure Container App Jobs
- Push your updated image to ACR by running the
build_image_jobfrom above withshould_push: truein the Launchpad - Modify the
dynamic_executorin theDefinitionsof the dagster_defs.py file to use theazure_caj_configinstead of thedocker_config - Reload your Definitions from the Lineage or Deployment page
- Materialize your Asset again! (See
Running the example)
- Push your updated image to ACR by running the