Hi all, I am looking for a way to contain everythi...
# ask-community
p
Hi all, I am looking for a way to contain everything related to prefect inside a project directory. Specifically, I would like to be able to change PREFECT_HOME to ./.prefect inside my project. I know I can do this with environment variables, but is there any other way you can do this with a file in the project such as a .env? Any help would be greatly appreciated.
s
It really depends on your deployment strategy. We use poetry for python project management, everything is put under a folder called
src
, and we deploy with a
deployment.py
which in turn imports every flow we wish to deploy and uses the programmatic
some_flow.deploy
syntax to deploy flow. If you use prefect.yaml, it really is similar as you can specificy deployment's
entrypoint
right?