Set up with Github Codespace

Instead of you setting up a local environment, you can use Github Codespaces. This will allow you to work through this course and edit code in this repository in a cloud based environment.

Creating a Github Codespace

There are unique Codespaces for the different courses in Dagster University. Be sure to select the create one creating a Codespace.

  1. While logged into Github, go to the Codespaces page.

  2. In the top right, select "New Codespace"

  3. Create a Codespace using the following.

    FieldValue
    Repositorydagster-io/project-dagster-university
    Branchmain
    Dev container configurationTesting with Dagster
    RegionUS East
    Machine type2-core

    Codespace Create

  4. Click "Create codespace"

The first time you create a codespace it may take a minute for everything to start. You will then be dropped in an interactive editor containing the code for the entire Dagster University repository.

Working in the Codespace

In the terminal of the Codespace IDE the bottom navigate to the specific course.

cd dagster_university/dagster_testing

To ensure everything is working you can launch the Dagster UI.

dagster dev

After Dagster starts running you will be prompted to open the Dagster UI within your browser. Click "Open in Browser".

Codespace Launch

Stopping your Github Codespace

Be sure to stop your Codespace when you are not using it. Github provides personal accounts 120 cores hours per month.

Stop Codespace