A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
changed urls for my fork - for easier testing changed sed separator as suggested in https://github.com/the-paperless-project/paperless/pull/500#discussion_r257806300
Piotr Cichosz1f1a23d19f93
diff --git a/docs/examples/lxc/lxc-install.sh b/docs/examples/lxc/lxc-install.shindex 3788aa7e1..fa7a83a1e 100644--- a/docs/examples/lxc/lxc-install.sh+++ b/docs/examples/lxc/lxc-install.sh@@ -6,7 +6,7 @@# Will set-up paperless, apache2 and proftpd## lxc launch ubuntu: paperless-# lxc exec paperless -- sh -c "wget https://raw.githubusercontent.com/danielquinn/paperless/master/scripts/lxc/lxc-install.sh && /bin/bash lxc-install.sh"+# lxc exec paperless -- sh -c "wget https://raw.githubusercontent.com/maur/paperless/master/docs/examples/lxc/lxc-install.sh && /bin/bash lxc-install.sh"##@@ -41,7 +41,7 @@ systemctl restart proftpd#Get Paperless from git-su -c "cd /home/paperless ; git clone https://github.com/danielquinn/paperless" paperless+su -c "cd /home/paperless ; git clone https://github.com/maur/paperless" paperless# Install Pip Requirementsapt-get -y install python3-pip python3-venv@@ -54,7 +54,7 @@ sed -e '/PAPERLESS_CONSUMPTION_DIR=/s/=.*/=\"\/home\/ftpupload\/\"/' \# Update /etc/paperless.conf with PAPERLESS_SECRET_KEYSECRET=$(strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 30 | tr -d '\n'; echo)-sed -i "s/#PAPERLESS_SECRET_KEY.*/PAPERLESS_SECRET_KEY=$SECRET/g" /etc/paperless.conf+sed -i "s/#PAPERLESS_SECRET_KEY.*/PAPERLESS_SECRET_KEY=$SECRET/" /etc/paperless.conf#Initialise the SQLite databasesu -c "cd /home/paperless/paperless/src/ ; ./manage.py migrate" paperless@@ -69,11 +69,11 @@ a2dissite 000-default.confa2ensite paperless.confsystemctl reload apache2-sed -e "s/home\/paperless\/project\/virtualenv\/bin\/python/usr\/bin\/python3/" \+sed -e "s:home/paperless/project/virtualenv/bin/python:usr/bin/python3:" \/home/paperless/paperless/scripts/paperless-consumer.service \>/etc/systemd/system/paperless-consumer.service-sed -i "s/\/home\/paperless\/project\/src\/manage.py/\/home\/paperless\/paperless\/src\/manage.py/" \+sed -i "s:/home/paperless/project/src/manage.py:/home/paperless/paperless/src/manage.py:" \/etc/systemd/system/paperless-consumer.servicediff --git a/docs/setup.rst b/docs/setup.rstindex 3b17b12b0..0a0d78d70 100644--- a/docs/setup.rst+++ b/docs/setup.rst@@ -522,7 +522,7 @@ if the above assumptions are acceptable... code:: bash- $ lxc exec paperless -- sh -c "wget https://raw.githubusercontent.com/danielquinn/paperless/master/docs/examples/lxc/lxc-install.sh && /bin/bash lxc-install.sh"+ $ lxc exec paperless -- sh -c "wget https://raw.githubusercontent.com/maur/paperless/master/docs/examples/lxc/lxc-install.sh && /bin/bash lxc-install.sh"The script will ask you for an ftpupload password.As well as the super-user for paperless web front-end.