From 1d3317bf8b08b99f13cf1b38b1aabdf2872407c0 Mon Sep 17 00:00:00 2001 From: yafimvo Date: Wed, 5 Mar 2025 12:49:38 +0200 Subject: [PATCH 1/2] dev docs --- doc/user-guide/cli.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/user-guide/cli.md b/doc/user-guide/cli.md index aa3e06f0..f4f6094a 100644 --- a/doc/user-guide/cli.md +++ b/doc/user-guide/cli.md @@ -536,3 +536,19 @@ Where `PROJECT_ID` is the randomly generated ID. If you did not set a custom nam the `PROJECT_ID` is the string in the URL (either `PROJECT_ID.ploomber.app` or `PROJECT_ID.ploomberapp.io`), if you set a custom name, you can retrieve the `PROJECT_ID` by clicking on the ⚙️ icon next to the URL in your app detailed view. + + +## Dev mode + +```{versionadded} 0.4.2 +``` + +Enable live dev mode for automatic deployment on source changes. When you save a file, the CLI uploads the modified file, and you can see the changes at .ploomber.app. + +If you modify `requirements.txt`, the CLI installs the new dependencies and restarts the app automatically. + +To start Dev Mode, run from your project folder: + +```sh +ploomber-cloud dev +``` From 08fd6e5175336d0c4278d3df9a87557d62061dc2 Mon Sep 17 00:00:00 2001 From: yafimvo Date: Wed, 5 Mar 2025 12:56:27 +0200 Subject: [PATCH 2/2] fix --- doc/user-guide/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user-guide/cli.md b/doc/user-guide/cli.md index f4f6094a..101884f4 100644 --- a/doc/user-guide/cli.md +++ b/doc/user-guide/cli.md @@ -543,7 +543,7 @@ URL in your app detailed view. ```{versionadded} 0.4.2 ``` -Enable live dev mode for automatic deployment on source changes. When you save a file, the CLI uploads the modified file, and you can see the changes at .ploomber.app. +Enable live dev mode for automatic deployment on source changes. When you save a file, the CLI uploads the modified file, and you can see the changes at `.ploomber.app`. If you modify `requirements.txt`, the CLI installs the new dependencies and restarts the app automatically.