-
-
Notifications
You must be signed in to change notification settings - Fork 565
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·26 lines (21 loc) · 689 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·26 lines (21 loc) · 689 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
#!/usr/bin/env bash
# ©AngelaMos | 2026
# install.sh
set -euo pipefail
command -v uv >/dev/null 2>&1 || {
echo "Installing uv..."
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
}
echo "Syncing dependencies..."
uv sync
echo "Downloading spaCy model (optional, for NLP-based detection)..."
uv run python -m spacy download en_core_web_sm 2>/dev/null || true
echo ""
echo "Setup complete. Run the scanner with:"
echo " uv run dlp-scan --help"
echo ""
echo "Quick start:"
echo " uv run dlp-scan scan file ./path/to/scan"
echo " uv run dlp-scan scan db sqlite:///path/to/db.sqlite3"
echo " uv run dlp-scan scan network ./capture.pcap"