From 3f8cfb8a392ecbb3b971000bd457ca7806242042 Mon Sep 17 00:00:00 2001 From: Baris Can Durak Date: Wed, 30 Oct 2024 15:26:07 +0100 Subject: [PATCH] adding zenml login --- copier.yml | 2 +- template/Makefile | 2 +- template/README.md | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/copier.yml b/copier.yml index d669efc..016509f 100644 --- a/copier.yml +++ b/copier.yml @@ -127,7 +127,7 @@ _tasks: echo " # optional, provision default local stack" echo " make install-stack-local" 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 e2d21a3..e2835dd 100644 --- a/template/Makefile +++ b/template/Makefile @@ -2,7 +2,7 @@ stack_name ?= e2e_template_stack {%- if zenml_server_url != '' %} remote-login: - zenml connect --url "{{zenml_server_url}}" + zenml login "{{zenml_server_url}}" setup: remote-login {%- else %} diff --git a/template/README.md b/template/README.md index 63f535b..d490ca1 100644 --- a/template/README.md +++ b/template/README.md @@ -74,9 +74,8 @@ source .venv/bin/activate make setup # Optionally, provision default local stack make install-stack-local -# 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 ```