-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquickstart.bat
More file actions
56 lines (50 loc) · 1.13 KB
/
quickstart.bat
File metadata and controls
56 lines (50 loc) · 1.13 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@echo off
REM Blink - Quick Setup for Windows
REM Copy and paste these commands to get started
cls
echo ==========================================
echo Blink - Quick Setup for Windows
echo ==========================================
echo.
echo Step 1: Create virtual environment
python -m venv venv
if errorlevel 1 (
echo [ERROR] Failed to create venv. Make sure Python is installed.
echo Get Python from: https://www.python.org/downloads/
pause
exit /b 1
)
echo.
echo Step 2: Activate virtual environment
call venv\Scripts\activate.bat
if errorlevel 1 (
echo [ERROR] Failed to activate venv
pause
exit /b 1
)
echo.
echo Step 3: Install dependencies
pip install -r requirements.txt
if errorlevel 1 (
echo [ERROR] Failed to install dependencies
pause
exit /b 1
)
echo.
echo Step 4: Configure API token
echo Running setup helper...
python setup.py
if errorlevel 1 (
echo [ERROR] Setup failed
pause
exit /b 1
)
echo.
echo ==========================================
echo Setup Complete!
echo ==========================================
echo.
echo You can now run Blink:
echo python main.py
echo.
pause