https://dagster.io/ logo
#ask-community
Title
# ask-community
r

ron burgundy

02/29/2024, 2:01 AM
Is there some way to move / rename the temporary directory that gets created when I'm running dagster? Currently it makes a mess of my git tracking and I can't even add it to .gitignore because of the randomly generated folder names
p

Pedram Navid

02/29/2024, 4:36 AM
you can set the DAGSTER_HOME environment variable, i have this e.g.
Copy code
DAGSTER_HOME=/Users/pedram/projects/dagster_home
r

ron burgundy

02/29/2024, 4:53 AM
i tried this, but it's still creating a folder where I execute the script (not where I set DAGSTER_HOME variable)
Copy code
DAGSTER_HOME=~/DagsterArtifacts; dagster dev -f myscript.py
p

Pedram Navid

02/29/2024, 4:54 AM
remove the semicolon and try again
r

ron burgundy

02/29/2024, 5:03 AM
works now, thank you!
dagster yay 1
8 Views