@@ -8,76 +8,9 @@ This chapter introduces how to set up the Yao development and debugging environm
8
8
9
9
## Install
10
10
11
- <Tabs defaultActiveKey = ' 1' >
12
- <TabPane tab = ' Linux & MacOS' key = ' 1' >
11
+ Latest Version download and installation:
13
12
14
- Run the script in the terminal:
15
-
16
- ``` bash
17
- curl -fsSL https://website.yaoapps.com/install.sh | bash
18
- ```
19
-
20
- </TabPane >
21
-
22
- <TabPane tab = ' Windows' key = ' 2' >
23
-
24
- 1 . Install Docker [ download and install Docker] ( https://docs.docker.com/desktop/windows/install/ )
25
-
26
- 2 . Create and start the container: ` docker run -d --name yao -v <project root>:/data/app -p 5099:5099 yaoapp/yao:0.10.1-amd64-dev `
27
-
28
- Into the container:
29
-
30
- ``` bash
31
- docker exec -it yao /bin/bash
32
- ```
33
-
34
- Use the yao command inside the container
35
-
36
- ``` bash
37
- yao version
38
- ```
39
-
40
- ** Yao Docker Images**
41
-
42
- | Image | Environment | Usage Scenario |
43
- | --------------------------- | ----------------------- | -------------------------------------------------------------------------- |
44
- | yaoapp/yao:0.10.1-amd64-dev | Development Environment | ` amd64 ` for MacOS Intel, Windows X86 64-bit, Linux 64-bit |
45
- | yaoapp/yao:0.10.1-arm64-dev | Development Environment | ` arm64 ` is suitable for MacOS M1, Raspberry Pi, RK development board, etc. |
46
- | yaoapp/yao:0.10.1-amd64 | Production environment | Suitable for cloud deployment |
47
- | yaoapp/yao:0.10.1-arm64 | Production | Suitable for IoT edge device deployment |
48
-
49
- </TabPane >
50
-
51
- <TabPane tab = ' Docker (recommended)' key = ' 3' >
52
-
53
- 1 . Install Docker [ download and install Docker] ( https://docs.docker.com/get-docker/ )
54
-
55
- 2 . Create and start the container: ` docker run -d --name yao -v <project root>:/data/app -p 5099:5099 yaoapp/yao:0.10.1-amd64-dev `
56
-
57
- Into the container:
58
-
59
- ``` bash
60
- docker exec -it yao /bin/bash
61
- ```
62
-
63
- Use the yao command inside the container
64
-
65
- ``` bash
66
- yao version
67
- ```
68
-
69
- ** Yao Docker Images**
70
-
71
- | Image | Environment | Usage Scenario |
72
- | --------------------------- | ----------------------- | -------------------------------------------------------------------------- |
73
- | yaoapp/yao:0.10.1-amd64-dev | Development Environment | ` amd64 ` for MacOS Intel, Windows X86 64-bit, Linux 64-bit |
74
- | yaoapp/yao:0.10.1-arm64-dev | Development Environment | ` arm64 ` is suitable for MacOS M1, Raspberry Pi, RK development board, etc. |
75
- | yaoapp/yao:0.10.1-amd64 | Production environment | Suitable for cloud deployment |
76
- | yaoapp/yao:0.10.1-arm64 | Production | Suitable for IoT edge device deployment |
77
-
78
- </TabPane >
79
-
80
- </Tabs >
13
+ https://github.com/YaoApp/xgen-dev-app/blob/main/README.md
81
14
82
15
<Notice type = " success" >
83
16
Yao uses Sqlite to store data by default, if you need to use MySQL and
0 commit comments