Hi, I'm confused about using agent locally.
I started a prefect server with "prefect server start"
I created a project with "prefect create project "myproject""
Then, I ran a local agent with "prefect agent local start -l mylabel"
Then I run a dummy workflow with
flow.register(project_name="myproject")
flow.run_agent()
When I go to http://localhost:8080, I can not see my flow.
It looks like it is create on Cloud...
k
Kevin Kho
07/23/2021, 6:35 PM
Hey @montardon, yes that’s right. The agent separate from the server and you would spin it up as other process
Kevin Kho
07/23/2021, 6:37 PM
Ah ok. You need to do
prefect backend server
to target the server instead of cloud
m
montardon
07/23/2021, 6:44 PM
Thank you. It works better! What is the reverse command ?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.