Update README.md

This commit is contained in:
Xin Xiang
2023-11-03 12:16:02 -07:00
committed by GitHub
parent 70568c0809
commit 1083cddfd7
+20 -14
View File
@@ -136,21 +136,27 @@ Say Hello to your private AI assistant Jarvis !
### Build OpenDAN from source code ### Build OpenDAN from source code
1. Install the latest version of python (>= 3.11) and pip 1. Install the latest version of python (>= 3.11) and pip
2. Clone the source code 1. Clone the source code
``` ```
git clone https://github.com/fiatrete/OpenDAN-Personal-AI-OS.git git clone https://github.com/fiatrete/OpenDAN-Personal-AI-OS.git
cd OpenDAN-Personal-AI-OS cd OpenDAN-Personal-AI-OS
``` ```
3. Install the dependent python library 1. Enable virtual env
``` ```
pip install -r ./src/requirements.txt virtualenv venv
``` source ./venv/bin/activate
Waiting for installation. ```
1. Install the dependent python library
```
pip install -r ./src/requirements.txt
```
Waiting for installation.
1. Start OpenDAN through aios_shell
```
python ./src/srvice/aios_shell/aios_shell.py
```
1. If seeing error saying `No ffmpeg exe could be found`, you need to install it manually from https://www.ffmpeg.org/
4. Start OpenDAN through aios_shell
```
python ./src/srvice/aios_shell/aios_shell.py
```
Now OpenDAN runs in the development mode, and the directory is: Now OpenDAN runs in the development mode, and the directory is:
- AIOS_ROOT: ./rootfs (/opt/aios in docker) - AIOS_ROOT: ./rootfs (/opt/aios in docker)
- AIOS_MYAI: ~/myai (/root/myai in docer) - AIOS_MYAI: ~/myai (/root/myai in docer)