Skip to content

Commit

Permalink
changing the auth flow
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdurak committed Oct 30, 2024
1 parent 4dbef59 commit 8e7723f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion copier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ _tasks:
echo " pip install -r requirements.txt"
echo " # Start the ZenML UI (optional; you'll also need the zenml[server] Python"
echo " # package installed"
echo " zenml up"
echo " zenml login --local"
echo " python run.py"
echo "Next, you should take a look at the '{{ _copier_conf.dst_path }}/README.md' file in the generated project."
echo "Happy coding!"
Expand Down
2 changes: 1 addition & 1 deletion template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ zenml integration install sklearn pandas -y
zenml init

# Start the ZenServer to enable dashboard access
zenml up
zenml login --local

# Run the feature engineering pipeline
python run.py --feature-pipeline
Expand Down
8 changes: 4 additions & 4 deletions template/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"source": [
"zenml_server_url = \"PLEASE_UPDATE_ME\" # in the form \"https://URL_TO_SERVER\"\n",
"\n",
"!zenml connect --url $zenml_server_url"
"!zenml login $zenml_server_url"
]
},
{
Expand Down Expand Up @@ -401,9 +401,9 @@
" # Only spin up a local Dashboard in case you aren't already connected to a remote server\n",
" if Environment.in_google_colab():\n",
" # run ZenML through a cloudflare tunnel to get a public endpoint\n",
" !zenml up --port 8237 & cloudflared tunnel --url http://localhost:8237\n",
" !zenml login --local --port 8237 & cloudflared tunnel --url http://localhost:8237\n",
" else:\n",
" !zenml up"
" !zenml login --local"
]
},
{
Expand Down Expand Up @@ -1126,7 +1126,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.11.3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 8e7723f

Please sign in to comment.