Benjamin Filippi
04/03/2020, 4:32 PMserver
or cloud
Options:
-h, --help Show this message and exit.Zachary Hughes
04/03/2020, 4:45 PMlocalhost
, but we do have an issue open to expand that functionality!
https://github.com/PrefectHQ/prefect/issues/2237Benjamin Filippi
04/03/2020, 4:50 PMScott Zelenka
04/03/2020, 9:07 PM.register
to point to a new URL, you'll need to edit the backend.toml
values to do that .. or you can achieve the same thing with envars:
import os
os.environ['PREFECT__BACKEND'] = 'server'
os.environ['PREFECT__SERVER__HOST'] = '<http://api.prefect.local>'
os.environ['PREFECT__SERVER__PORT'] = '80'
os.environ['PREFECT__SERVER_UI__HOST'] = f'<http://prefect.local>'
os.environ['PREFECT__SERVER_UI__PORT'] = '80'