diff --git a/doc/user-guide/cli.md b/doc/user-guide/cli.md index 6e8efebc..b1879f11 100644 --- a/doc/user-guide/cli.md +++ b/doc/user-guide/cli.md @@ -370,6 +370,14 @@ To view all labels added to your project simply run: ploomber-cloud labels ``` +### Synchronize labels + +To overwrite the labels in your `ploomber-cloud.json` with the labels from the UI: + +```sh +ploomber-cloud labels --sync +``` + ## Switching the configuration file By default, the CLI reads and writes to a `ploomber-cloud.json` file, but you can customize it via the `--config` (or its short version, `-c`), switching the config file is useful when you need to manage multiple environments (for example, development and production). @@ -382,4 +390,4 @@ ploomber-cloud init --config ploomber-cloud.dev.json # deploy using the dev config ploomber-cloud deploy --config ploomber-cloud.dev.json -``` \ No newline at end of file +``` diff --git a/doc/user-guide/managing-apps.md b/doc/user-guide/managing-apps.md index 378621fe..d24af827 100644 --- a/doc/user-guide/managing-apps.md +++ b/doc/user-guide/managing-apps.md @@ -1,7 +1,6 @@ # Managing applications ## Labels - Labels can help you organize and identify your apps. You can add them during creation: ![](../static/manage-apps/labels.png) @@ -18,6 +17,9 @@ You may add as many labels as you want. Once you've added some labels, they will ![](../static/manage-apps/see-labels-main.png) +```{tip} +You can add labels to your app through the [CLI](./cli.md#add-labels) +``` (stop-application)= ## Stop application diff --git a/examples/panel/stock-market-chatbot/README.md b/examples/panel/stock-market-chatbot/README.md index fe4df9e9..1f5acfe8 100644 --- a/examples/panel/stock-market-chatbot/README.md +++ b/examples/panel/stock-market-chatbot/README.md @@ -8,7 +8,7 @@ The app is built using Python Yahoo Finance [yfinance](https://pypi.org/project/ The app will store the plot generated and save it to ImageKit.io, and then use the OpenAI API to generate a response to the user's question about the plot. -### Pre-requisites +### Prerequisites 1. OpenAI API key. Visit their [Documentation](https://platform.openai.com/docs/api-reference/introduction) 2. ImageKit.io url endpoint, public key, and private key. Visit their [Dashboard](https://imagekit.io/dashboard) @@ -56,4 +56,4 @@ panel serve app.py --autoreload --show To deploy the app to Ploomber Cloud, you need to have a Ploomber Cloud account. Visit their [website](https://www.platform.ploomber.io/) to create an account. Once you have an account, you can deploy the Panel app to Ploomber Cloud using the following guides: [Deploy Panel apps through the UI](https://docs.cloud.ploomber.io/en/latest/apps/panel.html). -[Add your secret variables](https://docs.cloud.ploomber.io/en/latest/user-guide/env-vars.html) \ No newline at end of file +[Add your secret variables](https://docs.cloud.ploomber.io/en/latest/user-guide/env-vars.html)