Added install directions
This commit is contained in:
parent
777ab42f75
commit
defb613227
|
@ -1 +1 @@
|
|||
[{"role": "user", "type": "message", "content": "Hi, can you hear me?\n"}]
|
||||
[{"role": "user", "type": "message", "content": "This is a microphone. I also have an extra microphone.\n"}]
|
|
@ -31,26 +31,6 @@ if [ -n "$DEVICE_PORT" ]; then
|
|||
lsof -ti tcp:$DEVICE_PORT | xargs kill
|
||||
fi
|
||||
|
||||
# Check the current Python version
|
||||
PYTHON_VERSION=$(python -V 2>&1 | cut -d " " -f 2 | cut -d "." -f 1-2)
|
||||
|
||||
# If the Python version is not 3.10 or 3.11, switch to it using pyenv
|
||||
if [[ "$PYTHON_VERSION" != "3.10" ]] && [[ "$PYTHON_VERSION" != "3.11" ]]; then
|
||||
echo "Switching to Python 3.10 using pyenv..."
|
||||
pyenv install 3.10.0
|
||||
pyenv shell 3.10.0
|
||||
fi
|
||||
|
||||
# INSTALL REQUIREMENTS
|
||||
|
||||
# (for dev, this is disabled for speed)
|
||||
|
||||
# if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
# brew update
|
||||
# brew install portaudio ffmpeg
|
||||
# fi
|
||||
# python -m pip install -r requirements.txt
|
||||
|
||||
### START
|
||||
|
||||
# DEVICE
|
||||
|
|
30
README.md
30
README.md
|
@ -4,6 +4,36 @@ Official repository for [The 01 Project](https://twitter.com/hellokillian/status
|
|||
|
||||
<br>
|
||||
|
||||
## Installation
|
||||
|
||||
2. **Install PortAudio and FFmpeg.**
|
||||
|
||||
```bash
|
||||
brew install portaudio ffmpeg
|
||||
```
|
||||
|
||||
3. **Install Python dependencies.**
|
||||
|
||||
```bash
|
||||
python -m pip install -r requirements.txt
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
1. **Navigate to the project directory.**
|
||||
|
||||
```bash
|
||||
cd OS/01
|
||||
```
|
||||
|
||||
2. **Run the start script.**
|
||||
|
||||
```bash
|
||||
bash start.sh
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
## Background
|
||||
|
||||
### [Context ↗](https://github.com/KillianLucas/01/blob/main/CONTEXT.md)
|
||||
|
|
Loading…
Reference in New Issue