mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-26 09:03:54 +08:00
update: 优化安装文档
This commit is contained in:
@@ -170,7 +170,7 @@ docker rmi ccr.ccs.tencentyun.com/xinnan/xiaozhi-esp32-server:latest
|
|||||||
|
|
||||||
### 1.安装基础环境
|
### 1.安装基础环境
|
||||||
|
|
||||||
本项目使用`conda`管理依赖环境,安装好后开始执行以下命令。
|
本项目使用`conda`管理依赖环境,安装好后,开始执行以下命令。
|
||||||
|
|
||||||
```
|
```
|
||||||
conda remove -n xiaozhi-esp32-server --all -y
|
conda remove -n xiaozhi-esp32-server --all -y
|
||||||
@@ -178,7 +178,7 @@ conda create -n xiaozhi-esp32-server python=3.10 -y
|
|||||||
conda activate xiaozhi-esp32-server
|
conda activate xiaozhi-esp32-server
|
||||||
```
|
```
|
||||||
|
|
||||||
如果你的电脑是windows,执行:
|
执行以上命令后, 如果你的电脑是Windows或Mac,执行下面的语句:
|
||||||
|
|
||||||
```
|
```
|
||||||
conda activate xiaozhi-esp32-server
|
conda activate xiaozhi-esp32-server
|
||||||
@@ -186,7 +186,7 @@ conda install conda-forge::libopus
|
|||||||
conda install conda-forge::ffmpeg
|
conda install conda-forge::ffmpeg
|
||||||
```
|
```
|
||||||
|
|
||||||
如果你的电脑是ubuntu,执行:
|
如果你的电脑是ubuntu,执行下面的语句:
|
||||||
|
|
||||||
```
|
```
|
||||||
apt-get install libopus0 ffmpeg
|
apt-get install libopus0 ffmpeg
|
||||||
|
|||||||
+7
-6
@@ -29,7 +29,8 @@ To fully experience this project, follow these steps:
|
|||||||
|
|
||||||
## Warning
|
## Warning
|
||||||
|
|
||||||
This project has been established for a short time and has not passed the network security assessment, so please do not use it in the production environment.
|
This project has been established for a short time and has not passed the network security assessment, so please do not
|
||||||
|
use it in the production environment.
|
||||||
|
|
||||||
## Feature List
|
## Feature List
|
||||||
|
|
||||||
@@ -68,7 +69,8 @@ is recommended to run the local source code.
|
|||||||
|
|
||||||
## Method 1: Quick deployment of docker
|
## Method 1: Quick deployment of docker
|
||||||
|
|
||||||
The docker image has supported the CPU of x86 architecture and arm64 architecture, and supports running on Chinese operating systems.
|
The docker image has supported the CPU of x86 architecture and arm64 architecture, and supports running on Chinese
|
||||||
|
operating systems.
|
||||||
|
|
||||||
1. Install docker
|
1. Install docker
|
||||||
|
|
||||||
@@ -178,8 +180,7 @@ is very useful, and it is required to `compile esp32 firmware` later.
|
|||||||
|
|
||||||
### 1.Install Prerequisites
|
### 1.Install Prerequisites
|
||||||
|
|
||||||
This project uses `conda` to manage the dependent environment, and after installation, it starts executing the following
|
This project uses 'conda' to manage dependencies, and after installation, start executing the following commands:
|
||||||
commands.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
conda remove -n xiaozhi-esp32-server --all -y
|
conda remove -n xiaozhi-esp32-server --all -y
|
||||||
@@ -187,7 +188,7 @@ conda create -n xiaozhi-esp32-server python=3.10 -y
|
|||||||
conda activate xiaozhi-esp32-server
|
conda activate xiaozhi-esp32-server
|
||||||
```
|
```
|
||||||
|
|
||||||
If your computer is Windows, execute:
|
After executing the above command, if your computer is Windows or Mac, execute the following statement:
|
||||||
|
|
||||||
```
|
```
|
||||||
conda activate xiaozhi-esp32-server
|
conda activate xiaozhi-esp32-server
|
||||||
@@ -195,7 +196,7 @@ conda install conda-forge::libopus
|
|||||||
conda install conda-forge::ffmpeg
|
conda install conda-forge::ffmpeg
|
||||||
```
|
```
|
||||||
|
|
||||||
If your computer is ubuntu, execute:
|
If your computer is ubuntu, execute the following statement:
|
||||||
|
|
||||||
```
|
```
|
||||||
apt-get install libopus0 ffmpeg
|
apt-get install libopus0 ffmpeg
|
||||||
|
|||||||
Reference in New Issue
Block a user