Created
July 14, 2024 14:27
-
-
Save tinsukE/a0bdf77b5bd89f75f4a08560f59fbdb6 to your computer and use it in GitHub Desktop.
Script to install py-paperless-ngx 2.11.0 on FreeBSD 13.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script to install py-paperless-ngx 2.11.0 on FreeBSD 13.2 | |
# https://tinsuke.wordpress.com/2024/04/20/how-to-install-py-paperless-ngx-on-freebsd-13/ | |
set DEPS_LIST="py311-pip py311-bleach py311-concurrent-log-handler \ | |
py311-dateparser py311-channels-redis py311-django-allauth \ | |
py311-django-auditlog py311-django-celery-results py311-django-compression-middleware \ | |
py311-django-cors-headers py311-django-extensions py311-django-filter \ | |
py311-django-multiselectfield py311-djangorestframework-guardian py311-drf-writable-nested \ | |
py311-filelock py311-flower py311-gotenberg-client py311-gunicorn py311-h2 py311-hiredis \ | |
py311-httptools py311-imap-tools py311-inotifyrecursive py311-langdetect py311-mysqlclient \ | |
py311-nltk py311-ocrmypdf py311-pathvalidate py311-pdf2image py311-pdftotext py311-psycopg2 \ | |
py311-python-dotenv py311-python-gnupg py311-python-ipware py311-python-magic py311-pyzbar \ | |
py311-rapidfuzz py311-scikit-learn py311-setproctitle py311-sqlite3 py311-tika-client \ | |
py311-uvicorn py311-uvloop py311-watchfiles py311-websockets py311-wheel py311-whitenoise \ | |
py311-whoosh \ | |
gnupg liberation-fonts-ttf optipng tesseract unpaper \ | |
blas openblas cmake gcc13 poppler-utils zbar ImageMagick7" | |
echo $DEPS_LIST | xargs pkg install -y | |
portsnap fetch extract | |
setenv BATCH yes | |
cd /usr/ports/deskutils/py-paperless-ngx | |
make install -DALLOW_UNSUPPORTED_SYSTEM | |
make clean | |
cd && rm -rf /usr/ports | |
echo $DEPS_LIST | xargs pkg set -A 1 -y | |
pkg autoremove -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment