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

Files changed (1) hide show
  1. 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
- You can upgrade RAGFlow to the dev version or the latest version:
11
 
12
- - The Dev version (Development version) is the latest, tested Docker image of RAGFlow.
13
- - The latest version is the most recent, officially published release. For example, `v0.13.0`.
14
 
 
 
 
15
 
16
- ## 1. Update RAGFLOW_IMAGE
17
 
18
- Update **ragflow/docker/.env** as follows:
 
 
19
 
20
- <Tabs
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
- :::danger IMPORTANT
29
- The Dev version (Development version) is the latest, tested Docker image of RAGFlow.
30
- :::
 
31
 
32
- ```bash
33
- RAGFLOW_IMAGE=infiniflow/ragflow:dev
34
- ```
35
 
36
- </TabItem>
37
- <TabItem value="latest">
38
 
39
- :::danger IMPORTANT
40
- The latest version is the most recent, officially published release. For example, `v0.13.0`.
41
- :::
42
 
43
- ```bash
44
- RAGFLOW_IMAGE=infiniflow/ragflow:latest
45
- ```
46
 
47
- </TabItem>
48
- </Tabs>
 
49
 
50
- ## 2. Pull the latest code
51
 
52
- Pull the latest code from inside Docker:
 
 
53
 
54
- ```bash
55
- git pull
56
- ```
57
 
58
- ## 3. Update RAGFlow image and restart RAGFlow
59
-
60
- ```bash
61
- docker compose -f docker/docker-compose.yml pull
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
+ ```