-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquickstart.sh
More file actions
36 lines (31 loc) · 798 Bytes
/
quickstart.sh
File metadata and controls
36 lines (31 loc) · 798 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
#!/bin/bash
# Quick Setup Guide for Blink
# Copy and paste these commands to get started
echo "=========================================="
echo "Blink - Quick Setup"
echo "=========================================="
echo ""
echo "Step 1: Create virtual environment"
python -m venv venv
echo ""
echo "Step 2: Activate virtual environment"
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "win32" ]]; then
# Windows
source venv/Scripts/activate
else
# macOS/Linux
source venv/bin/activate
fi
echo ""
echo "Step 3: Install dependencies"
pip install -r requirements.txt
echo ""
echo "Step 4: Configure API token"
echo "Run the setup helper:"
python setup.py
echo ""
echo "Step 5: Launch Blink"
echo "Run:"
echo " python main.py"
echo ""
echo "=========================================="