mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-27 02:36:14 +01:00
Update paperless-ngx-v5-install.sh
tweak
This commit is contained in:
parent
57b4c2773b
commit
959cd5800e
@ -154,9 +154,12 @@ 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 all
|
|
||||||
msg_ok "Installed Paperless-ngx"
|
msg_ok "Installed Paperless-ngx"
|
||||||
|
|
||||||
|
msg_info "Installing Natural Language Toolkit (Patience)"
|
||||||
|
$STD python3 -m nltk.downloader -d /usr/share/nltk_data all
|
||||||
|
msg_ok "Installed Natural Language Toolkit"
|
||||||
|
|
||||||
msg_info "Setting up database"
|
msg_info "Setting up database"
|
||||||
DB_USER=paperless
|
DB_USER=paperless
|
||||||
DB_PASS="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13)"
|
DB_PASS="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13)"
|
||||||
|
Loading…
Reference in New Issue
Block a user