Created
August 22, 2021 21:23
-
-
Save tribut/4b6109f610d830b2ed5d644e9a5a6941 to your computer and use it in GitHub Desktop.
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/bash | |
set -eEuo pipefail | |
# docker run -d -t --name paperless-test -v $(pwd):/paperless ubuntu:focal /bin/bash | |
# docker exec -it paperless-test /bin/bash | |
apt update | |
apt install --no-install-recommends --assume-yes python3 python3-pip python3-dev fonts-liberation gnupg libpq-dev libmagic-dev mime-support unpaper tesseract-ocr imagemagick ghostscript optipng | |
pip install --upgrade pipenv | |
cd /paperless | |
pipenv install --system --dev --ignore-pipfile | |
adduser --disabled-login --gecos "" nonroot | |
su nonroot | |
# cd src | |
# pytest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment