https://prefect.io logo
Title
m

Michael Aldridge

03/21/2022, 9:59 PM
Is there a handy dandy environment variable I can export to tell the prefect CLI that I want it to use the 'server' backend rather than 'cloud'?
k

Kevin Kho

03/21/2022, 10:00 PM
Try:
PREFECT__BACKEND: "server"
m

Michael Aldridge

03/21/2022, 10:00 PM
ah! I was trying
PREFECT_BACKEND
with only one underscore
c

Christian Nuss

03/22/2022, 12:22 AM
also helpful:
export PREFECT__BACKEND="server"
export PREFECT__BACKEND__HOST="<http://apollo>"
export PREFECT__BACKEND__PORT="4200"
change http://apollo and
4200
to be whatever it is locally, obviously! then prefect is fully tied to your local
m

Michael Aldridge

03/22/2022, 3:26 PM
got it!