writinwaters
commited on
Commit
·
b67985b
1
Parent(s):
99ac12c
minor (#3483)
Browse files### What problem does this PR solve?
### Type of change
- [x] Documentation Update
- docs/guides/upgrade_ragflow.mdx +32 -39
docs/guides/upgrade_ragflow.mdx
CHANGED
|
@@ -7,57 +7,50 @@ slug: /upgrade_ragflow
|
|
| 7 |
import Tabs from '@theme/Tabs';
|
| 8 |
import TabItem from '@theme/TabItem';
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
-
|
| 13 |
-
- The latest version is the most recent, officially published release. For example, `v0.13.0`.
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
-
defaultValue="dev"
|
| 22 |
-
values={[
|
| 23 |
-
{label: 'Upgrade RAGFlow to the dev version', value: 'dev'},
|
| 24 |
-
{label: 'Upgrade RAGFlow to the latest version', value: 'latest'}
|
| 25 |
-
]}>
|
| 26 |
-
<TabItem value="dev">
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
| 31 |
|
| 32 |
-
|
| 33 |
-
RAGFLOW_IMAGE=infiniflow/ragflow:dev
|
| 34 |
-
```
|
| 35 |
|
| 36 |
-
|
| 37 |
-
<TabItem value="latest">
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
|
| 43 |
-
|
| 44 |
-
RAGFLOW_IMAGE=infiniflow/ragflow:latest
|
| 45 |
-
```
|
| 46 |
|
| 47 |
-
|
| 48 |
-
|
|
|
|
| 49 |
|
| 50 |
-
|
| 51 |
|
| 52 |
-
|
|
|
|
|
|
|
| 53 |
|
| 54 |
-
|
| 55 |
-
git pull
|
| 56 |
-
```
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
docker compose -f docker/docker-compose.yml up -d
|
| 63 |
-
```
|
|
|
|
| 7 |
import Tabs from '@theme/Tabs';
|
| 8 |
import TabItem from '@theme/TabItem';
|
| 9 |
|
| 10 |
+
## Upgrade RAGFlow to `dev`, the most recent, tested Docker image
|
| 11 |
|
| 12 |
+
1. Clone the repo
|
|
|
|
| 13 |
|
| 14 |
+
```bash
|
| 15 |
+
git clone https://github.com/infiniflow/ragflow.git
|
| 16 |
+
```
|
| 17 |
|
| 18 |
+
2. Update **ragflow/docker/.env** as follows:
|
| 19 |
|
| 20 |
+
```bash
|
| 21 |
+
RAGFLOW_IMAGE=infiniflow/ragflow:dev
|
| 22 |
+
```
|
| 23 |
|
| 24 |
+
3. Update RAGFlow image and restart RAGFlow:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
```bash
|
| 27 |
+
docker compose -f docker/docker-compose.yml pull
|
| 28 |
+
docker compose -f docker/docker-compose.yml up -d
|
| 29 |
+
```
|
| 30 |
|
| 31 |
+
## Upgrade RAGFlow to `latest`, the most recent, officially published release
|
|
|
|
|
|
|
| 32 |
|
| 33 |
+
1. Clone the repo
|
|
|
|
| 34 |
|
| 35 |
+
```bash
|
| 36 |
+
git clone https://github.com/infiniflow/ragflow.git
|
| 37 |
+
```
|
| 38 |
|
| 39 |
+
2. Switch to the latest, officially published release, e.g., `v0.13.0`:
|
|
|
|
|
|
|
| 40 |
|
| 41 |
+
```bash
|
| 42 |
+
git checkout v0.13.0
|
| 43 |
+
```
|
| 44 |
|
| 45 |
+
3. Update **ragflow/docker/.env** as follows:
|
| 46 |
|
| 47 |
+
```bash
|
| 48 |
+
RAGFLOW_IMAGE=infiniflow/ragflow:latest
|
| 49 |
+
```
|
| 50 |
|
| 51 |
+
4. Update the RAGFlow image and restart RAGFlow:
|
|
|
|
|
|
|
| 52 |
|
| 53 |
+
```bash
|
| 54 |
+
docker compose -f docker/docker-compose.yml pull
|
| 55 |
+
docker compose -f docker/docker-compose.yml up -d
|
| 56 |
+
```
|
|
|
|
|
|