Xavier Babu
01/24/2022, 2:51 PMAnna Geller
export PREFECT_ORION_API_PORT=4242
Zanie
prefect orion start
also takes a --port
option. I do not believe the UI supports alternative ports yet though.Xavier Babu
01/24/2022, 5:04 PMZanie
config.toml
yet.Xavier Babu
01/24/2022, 5:10 PMZanie
PREFECT_ORION_HOST
on the agent to the path that the api is hosted on e.g. <http://localhost:5200/api>
Xavier Babu
01/24/2022, 5:13 PMZanie
prefect dev build-ui
Xavier Babu
01/24/2022, 6:30 PMZanie
Xavier Babu
01/24/2022, 7:46 PMZanie
Xavier Babu
01/25/2022, 3:36 PMZanie
prefect dev build-ui
will resolve the “Not found”prefect dev start
will host the UI directly from the type script (available at a different port) if you want to test your changes without rebuilding manuallyXavier Babu
01/25/2022, 4:51 PMAnna Geller
Do I need to flush and recreate the db?If you don’t see your flows and flow runs in the UI, then you’re correct, running “prefect orion reset-db” may help to clean the DB state and start from scratch
Zanie
Xavier Babu
01/26/2022, 2:45 PMZanie
Xavier Babu
01/26/2022, 5:47 PMZanie
Xavier Babu
01/26/2022, 8:16 PMZanie
Xavier Babu
01/28/2022, 2:50 PMZanie