-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathInstall.sh
More file actions
26 lines (20 loc) · 608 Bytes
/
Install.sh
File metadata and controls
26 lines (20 loc) · 608 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
install.sh
```bash
#!/bin/bash
set -e
echo "Installing Tinkerflow-AI..."
# Check Python version
python_version=$(python3 --version 2>&1 | grep -oP '\d+\.\d+')
if (( $(echo "$python_version < 3.9" | bc -l) )); then
echo "Error: Python 3.9+ required"
exit 1
fi
# Install dependencies
pip install -r requirements.txt
# Copy config template if not exists
if [ ! -f config/app.config.json ]; then
cp config/app.config.example.json config/app.config.json
echo "Please edit config/app.config.json with your GitHub App credentials"
fi
echo "Installation complete. Run 'make run' to start."
```