From ea2a15ff5d38248a600ccffee74725744fbdfc43 Mon Sep 17 00:00:00 2001 From: Baris Can Durak Date: Wed, 30 Oct 2024 15:32:32 +0100 Subject: [PATCH] adding zenml login --- README.md | 2 +- copier.yml | 2 +- template/Makefile | 4 ++-- template/README.md | 5 ++--- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b27591c..fada305 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ After configuring your project, you can run the following commands to set up you cd make setup make install-local-stack -zenml up +zenml login --local python run.py ``` diff --git a/copier.yml b/copier.yml index 607fedd..de68e67 100644 --- a/copier.yml +++ b/copier.yml @@ -163,7 +163,7 @@ _tasks: echo " # optional, provision default local stack" echo " make install-local-stack" echo " # optional, start ZenML Dashboard" - echo " zenml up" + echo " zenml login --local" echo " python run.py" echo echo "Next, you should take a look at the '{{ _copier_conf.dst_path }}/README.md' file in the generated project." diff --git a/template/Makefile b/template/Makefile index ca6d85d..c02a6c0 100644 --- a/template/Makefile +++ b/template/Makefile @@ -2,7 +2,7 @@ stack_name ?= nlp_template_stack {%- if zenml_server_url != '' %} remote-login: - zenml connect --url "{{zenml_server_url}}" + zenml login "{{zenml_server_url}}" setup: remote-login {%- else %} @@ -23,4 +23,4 @@ install-local-stack: zenml stack register -a default -o default -r mlflow_local_$${stack_name} \ -e mlflow_local_$${stack_name} $${stack_name} && \ zenml stack set $${stack_name} && \ - zenml up + zenml login --local diff --git a/template/README.md b/template/README.md index e0c567d..14bb0da 100644 --- a/template/README.md +++ b/template/README.md @@ -78,9 +78,8 @@ source .venv/bin/activate make setup # Optionally, provision default local stack make install-local-stack -# Start the ZenML UI locally (recommended, but optional); -# the default username is "admin" with an empty password -zenml up +# Start the ZenML UI locally (recommended, but optional) +zenml login --local # Run the pipeline included in the project python run.py ```