-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·31 lines (26 loc) · 804 Bytes
/
setup.sh
File metadata and controls
executable file
·31 lines (26 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# Dev setup for blurt on macOS Apple Silicon
set -e
echo "=== Blurt Dev Setup ==="
# Check Apple Silicon
if [[ $(uname -m) != "arm64" ]]; then
echo "Warning: This is optimized for Apple Silicon (M1/M2/M3/M4)"
fi
# Install system deps
if ! brew list portaudio &>/dev/null; then
echo "Installing portaudio via Homebrew..."
brew install portaudio
fi
# Create venv and install
python3 -m venv ~/.blurt-venv
source ~/.blurt-venv/bin/activate
pip install --upgrade pip
pip install -e .
echo ""
echo "=== Setup complete ==="
echo ""
echo "Activate the venv: source ~/.blurt-venv/bin/activate"
echo "Run: blurt"
echo ""
echo "First run will download the Whisper large-v3-turbo model (~1.6 GB)."
echo "Grant Accessibility permissions to Terminal/iTerm when prompted."