García Gimenez Ignacio - 6to 2da
09/15/2021, 3:34 PMKyle McChesney
09/15/2021, 3:45 PMpip install prefect
. Once you have a .py file with a flow defined, you can just run the flow “locally” like so
prefect run -p path/to/your/flow.py
. The great part of prefect is how much easier it is to get a flow running locally when compared to airflow! Once you have your flow working and have a better feel for it, I’d look into: https://docs.prefect.io/api/latest/cli/register.htmlGarcía Gimenez Ignacio - 6to 2da
09/15/2021, 3:48 PMKyle McChesney
09/15/2021, 3:54 PMdocker run -ti -v /local/path/to/flows/:/flows/ prefecthq/prefect:0.15.2 /bin/bash
Then in that container you can run prefect run -p /flows/flow.py
García Gimenez Ignacio - 6to 2da
09/17/2021, 12:49 PMKyle McChesney
09/17/2021, 1:45 PMagent start
and also register the flows using local storage (also from the same container)Bastian Röhrig
09/20/2021, 8:34 AMGarcía Gimenez Ignacio - 6to 2da
09/20/2021, 1:28 PM