Skip to content

Commit dadf9be

Browse files
authored
Merge pull request #26 from zenml-io/2024.10.30
Using `zenml login` for templates
2 parents cd4601e + e37d83a commit dadf9be

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ After configuring your project, you can run the following commands to set up you
5656
cd <your_project_directory>
5757
make setup
5858
make install-local-stack
59-
zenml up
59+
zenml login --local
6060
python run.py
6161
```
6262

copier.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ _tasks:
163163
echo " # optional, provision default local stack"
164164
echo " make install-local-stack"
165165
echo " # optional, start ZenML Dashboard"
166-
echo " zenml up"
166+
echo " zenml login --local"
167167
echo " python run.py"
168168
echo
169169
echo "Next, you should take a look at the '{{ _copier_conf.dst_path }}/README.md' file in the generated project."

template/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ stack_name ?= nlp_template_stack
22

33
{%- if zenml_server_url != '' %}
44
remote-login:
5-
zenml connect --url "{{zenml_server_url}}"
5+
zenml login "{{zenml_server_url}}"
66

77
setup: remote-login
88
{%- else %}
@@ -23,4 +23,4 @@ install-local-stack:
2323
zenml stack register -a default -o default -r mlflow_local_$${stack_name} \
2424
-e mlflow_local_$${stack_name} $${stack_name} && \
2525
zenml stack set $${stack_name} && \
26-
zenml up
26+
zenml login --local

template/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ source .venv/bin/activate
7878
make setup
7979
# Optionally, provision default local stack
8080
make install-local-stack
81-
# Start the ZenML UI locally (recommended, but optional);
82-
# the default username is "admin" with an empty password
83-
zenml up
81+
# Start the ZenML UI locally (recommended, but optional)
82+
zenml login --local
8483
# Run the pipeline included in the project
8584
python run.py
8685
```

0 commit comments

Comments
 (0)