From 7ad91a9b947218b207cd092efd2ab3864aac29a4 Mon Sep 17 00:00:00 2001 From: Mendon Kissling <59585235+mendonk@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:44:11 -0400 Subject: [PATCH] copy-db-info --- docs/docs/administration/cli.mdx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/docs/administration/cli.mdx b/docs/docs/administration/cli.mdx index 65fd1357c..3991376f3 100644 --- a/docs/docs/administration/cli.mdx +++ b/docs/docs/administration/cli.mdx @@ -35,7 +35,7 @@ python -m langflow | Command | Description | | ------- | ----------- | | `api-key` | Creates an API key for the default superuser if AUTO_LOGIN is enabled. | -| `copy-db` | Copy the database files to the current directory. | +| `copy-db` | Copy the database files to the current directory (`which langflow`). | | `migration` | Run or test migrations. | | `run` | Run the Langflow. | | `superuser` | Create a superuser. | @@ -70,10 +70,9 @@ python -m langflow api-key ## langflow copy-db -Run the `copy-db` command to copy the cached database files to the current directory. -If the files exist in the cache directory, they will be copied to the same directory as `__main__.py`, which is `/Users/username/Documents/GitHub/langflow/test-env/lf-rs/lib/python3.10/site-packages/langflow`. +Run the `copy-db` command to copy the cached `langflow.db` and `langflow-pre.db` database files to the current directory. -This function copies the `langflow.db` and `langflow-pre.db` files from the cache directory to the current directory. +If the files exist in the cache directory, they will be copied to the same directory as `__main__.py`, which can be found with `which langflow`. ### Options