Nate Lambeth
01/15/2021, 5:20 PMnicholas
Nate Lambeth
01/15/2021, 5:22 PMnicholas
endpoint
correctly in your local ~/.prefect/config.toml
:
[server]
endpoint = "YOUR_MACHINES_PUBLIC_IP:4200/graphql"
Then before you run your flow's registration script locally, you'll want to call: prefect backend server
, which tells Prefect you want to hit a Server backend (and so skips the Cloud authentication steps).
Once that's done, you should be able to call flow.register(project_name="My Project")
from any local python script and you'll see the flow in your UI 🙂Nate Lambeth
01/15/2021, 5:31 PMnicholas
docker-compose
), and it sounds like you're wrapping the Server instance in another Docker container?Nate Lambeth
01/15/2021, 5:38 PMnicholas
Nate Lambeth
01/15/2021, 6:14 PMnicholas