-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
55 lines (49 loc) · 1.93 KB
/
Copy pathsetup.bat
File metadata and controls
55 lines (49 loc) · 1.93 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
@echo off
REM Quick setup script for CRIPT on Windows
REM
REM Usage:
REM setup.bat
REM
setlocal enabledelayedexpansion
echo.
echo ╔════════════════════════════════════════════════════════════════╗
echo ║ CRIPT Setup Script (Windows) ║
echo ║ Cryptographic Ratcheting Implementation Protocol ║
echo ╚════════════════════════════════════════════════════════════════╝
echo.
REM Check if uv is installed
where uv >nul 2>nul
if %ERRORLEVEL% NEQ 0 (
echo 🔧 Installing UV package manager...
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
echo ✓ UV installed
echo.
)
for /f "tokens=*" %%i in ('uv --version') do set UV_VERSION=%%i
echo ✓ UV is installed: %UV_VERSION%
echo.
echo 📦 Syncing CRIPT dependencies...
call uv sync --group dev
echo.
echo ╔════════════════════════════════════════════════════════════════╗
echo ║ Setup Complete! ✓ ║
echo ╚════════════════════════════════════════════════════════════════╝
echo.
echo Next steps:
echo.
echo 1. Activate virtual environment:
echo .venv\Scripts\activate
echo.
echo 2. Run tests:
echo uv run pytest tests/ -v
echo.
echo 3. Run examples:
echo uv run python examples/01_basic.py
echo.
echo 4. Start server:
echo uv run python -m cript.network.server
echo.
echo 5. View documentation:
echo type UV_GUIDE.md
echo type README.md
echo.