Merge pull request #93 from xiangxin72/patch-1

Update README for macOS installation
This commit is contained in:
Liu Zhicong
2023-11-03 12:26:52 -07:00
committed by GitHub
+21 -15
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
4. Start OpenDAN through aios_shell ```
``` pip install -r ./src/requirements.txt
python ./src/srvice/aios_shell/aios_shell.py ```
``` 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/
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)