Update paperless-ngx-v5-install.sh

nltk download all
This commit is contained in:
tteckster 2023-02-10 14:54:51 -05:00 committed by GitHub
parent 9e2a0e18f2
commit 7b464da33c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ cd /opt/paperless
sed -i -e 's|-e git+https://github.com/paperless-ngx/django-q.git|git+https://github.com/paperless-ngx/django-q.git|' /opt/paperless/requirements.txt sed -i -e 's|-e git+https://github.com/paperless-ngx/django-q.git|git+https://github.com/paperless-ngx/django-q.git|' /opt/paperless/requirements.txt
$STD pip install --upgrade pip $STD pip install --upgrade pip
$STD pip install -r requirements.txt $STD pip install -r requirements.txt
$STD python3 -m nltk.downloader -d /usr/share/nltk_data stopwords $STD python3 -m nltk.downloader -d /usr/share/nltk_data all
msg_ok "Installed Paperless-ngx" msg_ok "Installed Paperless-ngx"
msg_info "Setting up database" msg_info "Setting up database"