-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·37 lines (33 loc) · 779 Bytes
/
Copy pathsetup.sh
File metadata and controls
executable file
·37 lines (33 loc) · 779 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
32
33
34
35
36
37
#!/bin/bash
# Live Translator — Quick Setup
set -e
echo "=== Live Translator Setup ==="
echo ""
# Virtual environment
if [ ! -d ".venv" ]; then
echo "Creating virtual environment..."
python3 -m venv .venv
fi
source .venv/bin/activate
echo "Installing dependencies..."
pip install -r requirements.txt -q
echo ""
echo "=== Setup complete! ==="
echo ""
echo "Usage:"
echo " source .venv/bin/activate"
echo " python main.py"
echo ""
echo "Or use make:"
echo " make run"
echo ""
echo "Build macOS app:"
echo " make build"
echo ""
echo "Download TTS voice models (optional, ~580MB):"
echo " make models"
echo ""
echo "First run permissions:"
echo " 1. Screen Recording (System Settings > Privacy & Security)"
echo " 2. Speech Recognition (auto-prompted)"
echo ""