Skip to content

Commit

Permalink
adding zenml login
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdurak committed Oct 30, 2024
1 parent 5b9b03a commit 3f8cfb8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion template/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
5 changes: 2 additions & 3 deletions template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 3f8cfb8

Please sign in to comment.