Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ uv tool install outervoid-dat
pipx install outervoid-dat
```

### curl/wget bootstrap (uvpipx → pip --user)
### curl/wget bootstrap (pipxuvvenv/pip --user)

```bash
curl -fsSL https://raw.githubusercontent.com/Outer-Void/dat/main/install.sh | bash
curl -fsSL https://raw.githubusercontent.com/Outer-Void/dat/v3.0.0/scripts/install.sh | bash
```

```bash
wget -qO- https://raw.githubusercontent.com/Outer-Void/dat/main/install.sh | bash
wget -qO- https://raw.githubusercontent.com/Outer-Void/dat/v3.0.0/scripts/install.sh | bash
```

> Need PDF output? Install with `outervoid-dat[pdf]` (e.g., `uv tool install "outervoid-dat[pdf]"`).
Expand All @@ -61,8 +61,8 @@ wget -qO- https://raw.githubusercontent.com/Outer-Void/dat/main/install.sh | bas
```bash
git clone https://github.com/Outer-Void/dat.git
cd dat
chmod +x dat install_deps.sh
./install_deps.sh
chmod +x scripts/install.sh
./scripts/install.sh --mode dev
./dat # default Markdown report in artifacts/report.md
```

Expand All @@ -71,7 +71,8 @@ chmod +x dat install_deps.sh
dat # default report.md generates audit report with main files code base print output (Entire project codebase located within a single document)
```

> Make sure you’re using a venv, `install_deps.sh` should create/activate first; the script supports it. Permissions errors? `chmod +x dat install_deps.sh`.
> Termux: the installer uses `pkg install python3` and avoids mixing prefixes.
> proot-distro: use the proot shell and avoid Termux paths in `$PATH`.

### Docker

Expand All @@ -80,7 +81,7 @@ FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
RUN chmod +x dat install_deps.sh
RUN chmod +x scripts/install.sh
ENTRYPOINT ["./dat"]
```

Expand Down Expand Up @@ -140,7 +141,7 @@ dat -o /path/to/custom_label.json
run: |
git clone https://github.com/Outer-Void/dat.git
cd dat
./install_deps.sh
./scripts/install.sh

- name: Security Scan
run: |
Expand Down Expand Up @@ -177,7 +178,7 @@ Repo link: **LRC — Local Repo Compiler** → [Outer-Void/lrc](https://github.c

## Troubleshooting

- **Permissions:** `chmod +x dat install_deps.sh bootstrap.sh`
- **Permissions:** `chmod +x scripts/install.sh bootstrap.sh`
- **Missing deps:** `pip install --force-reinstall -r requirements.txt` (Linux may need `libmagic`).
- **Termux:** `termux-setup-storage` and clone into `~/storage/shared` if needed.

Expand Down
2 changes: 1 addition & 1 deletion docs/ABOUT.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ dat/
### **Quick Installation**
```bash
# Run the installer
./install_deps.sh
./scripts/install.sh

# Or install manually
pip install -e .
Expand Down
33 changes: 16 additions & 17 deletions docs/INSTILLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ unzip dat-v3.0.0-alpha.1.zip && cd dat

```bash
# Run the comprehensive installer
chmod +x install_deps.sh
./install_deps.sh
chmod +x scripts/install.sh
./scripts/install.sh
```

### What the installer does:
Expand All @@ -76,34 +76,34 @@ chmod +x install_deps.sh
```bash
# Ubuntu/Debian
sudo apt-get update
./install_deps.sh
./scripts/install.sh

# Fedora/RHEL
sudo dnf groupinstall "Development Tools"
./install_deps.sh
./scripts/install.sh

# Arch Linux
sudo pacman -S base-devel
./install_deps.sh
./scripts/install.sh
```

### macOS

```bash
# With Homebrew (recommended)
brew install python3 libmagic
./install_deps.sh
./scripts/install.sh

# Without Homebrew
python3 -m ensurepip
./install_deps.sh
./scripts/install.sh
```

### Windows

```bash
# Git Bash / WSL2
./install_deps.sh
./scripts/install.sh

# If Python not found, install from:
# https://python.org/downloads/
Expand All @@ -114,7 +114,7 @@ python3 -m ensurepip
```bash
pkg update && pkg upgrade
pkg install python libmagic
./install_deps.sh
./scripts/install.sh
```

---
Expand Down Expand Up @@ -286,7 +286,7 @@ FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
RUN chmod +x dat install_deps.sh
RUN chmod +x scripts/install.sh

ENTRYPOINT ["./dat"]
```
Expand All @@ -305,7 +305,7 @@ docker run -v $(pwd):/scan dat /scan --deep --json report.json
run: |
git clone https://github.com/Justadudeinspace/dat.git
cd dat
./install_deps.sh
./scripts/install.sh

- name: Security Scan
run: |
Expand Down Expand Up @@ -343,12 +343,12 @@ python3 --version || python --version

```bash
# Fix script permissions
chmod +x dat install_deps.sh bootstrap.sh
chmod +x scripts/install.sh bootstrap.sh

# Use virtual environment to avoid system installs
python3 -m venv venv
source venv/bin/activate
./install_deps.sh
./scripts/install.sh
```

### Missing Dependencies
Expand Down Expand Up @@ -439,11 +439,11 @@ ls -la *.pdf *.json *.asc && echo "✅ Installation successful"
# Update to latest version
cd dat
git pull origin main
./install_deps.sh --upgrade
./scripts/install.sh --mode prod

# Or reinstall completely
# Or reinstall completely (venv install)
rm -rf .venv
./install_deps.sh
./scripts/install.sh --venv --mode prod
```

---
Expand Down Expand Up @@ -480,4 +480,3 @@ DAT: 3.0.0-alpha.1
---

DAT is now installed and ready for enterprise security scanning and compliance auditing.

8 changes: 4 additions & 4 deletions docs/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export PATH="$PATH:$(pwd)"

```bash
# Re-run installation
./install_deps.sh
./scripts/install.sh

# Or manual installation
python3 -m venv .venv
Expand Down Expand Up @@ -124,7 +124,7 @@ pip3 install --user -r requirements.txt

```bash
# Run with debug output
bash -x ./install_deps.sh
bash -x ./scripts/install.sh

# Check Python version
python3 --version # Requires 3.8+
Expand Down Expand Up @@ -512,7 +512,7 @@ dat . --no-sign

```bash
# Fix script permissions
chmod +x dat install_deps.sh
chmod +x scripts/install.sh

# Use virtual environment
python3 -m venv venv
Expand Down Expand Up @@ -587,7 +587,7 @@ rm -f ~/.datconfig

# Fresh installation
git clean -fdx
./install_deps.sh
./scripts/install.sh

# Test basic functionality
./dat . --safe --report test.json
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ title: DAT · Dev Audit Tool
<p><strong>Install quickstart</strong></p>
<pre><code>git clone https://github.com/Justadudeinspace/dat.git
cd dat
chmod +x install_deps.sh
./install_deps.sh
chmod +x scripts/install.sh
./scripts/install.sh
python3 dat</code></pre>
<p>
<a class="btn" href="{{ site.repo_url }}">View on GitHub</a>
Expand Down
4 changes: 2 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ title: Install
```bash
git clone https://github.com/Justadudeinspace/dat.git
cd dat
chmod +x install_deps.sh
./install_deps.sh
chmod +x scripts/install.sh
./scripts/install.sh
python3 dat
```

Expand Down
69 changes: 0 additions & 69 deletions install.sh

This file was deleted.

Loading
Loading