this is the stacktrace
# ask-community
a
this is the stacktrace
k
it looks like this is related to the fact that you don't have a prefect server running. you can start a local server with
prefect server start
or make a prefect cloud account to use that as your server
a
but the log says starting a temporary server, wouldn't that mean i don't have to start a server? (at least for testing). If am expected to start a server, whats the temporary server for?
j
i don't have an answer for the above question, but i was seeing this error in the quickstart and modified the run command to be
PREFECT_API_URL='<http://127.0.0.1:4200/api>' python 01_getting_started.py
after starting the server and things look good
the full set of operations being: 1. start server:
docker run -p 4200:4200 -d --rm prefecthq/prefect:3-python3.12 prefect server start --host 0.0.0.0
2. register flow:
PREFECT_API_URL='<http://127.0.0.1:4200/api>' python 01_getting_started.py
3. run flow:
PREFECT_API_URL='<http://127.0.0.1:4200/api>' prefect deployment run 'main/my-first-deployment'
a
uff its been a long time since then, i have managed to learn more about prefect and how it works, solved this issue