Kurulum

Docufy kurulum adımları ve PATH ayarı

Önkoşullar

1) Go ile kurulum (önerilen)

go install github.com/mlihgenel/docufy/v2/cmd/docufy@latest

2) PATH ayarı

`go env GOBIN` doluysa o dizini, boş ise `$(go env GOPATH)/bin` dizinini PATH'e eklemelisin.

macOS / Linux (zsh)

echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> ~/.zshrc
source ~/.zshrc

macOS / Linux (bash)

echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> ~/.bashrc
source ~/.bashrc

Windows (PowerShell)

$gopath = go env GOPATH
setx PATH "$env:PATH;$gopath\bin"

Windows'ta bu komuttan sonra yeni terminal açman gerekir.

3) Kurulum doğrulama

docufy --version
docufy --help

4) Harici araç doğrulama

ffmpeg -version
ffprobe -version

Belge dönüşümlerinde format kombinasyonuna göre LibreOffice veya Pandoc kullanılabilir. Bunları ihtiyaç durumunda kurup `--help` ve hata mesajlarına göre doğrulaman önerilir.

5) Kaynaktan derleme (opsiyonel)

git clone https://github.com/mlihgenel/docufy.git
cd docufy
go build -o docufy ./cmd/docufy
./docufy --help

Kurulum sonrası ilk kontrol listesi