Plone - Review documents in Plone with documentviewer
To enable Plone to be able to review my uploaded documents, I will install the documentviewer addon.
Addon URL: http://plone.org/products/document-viewer
Following these steps:
A. Install the dependencies:
Addon URL: http://plone.org/products/document-viewer
Following these steps:
A. Install the dependencies:
-
Grab the gem:
gem install docsplit -
Install GraphicsMagick.
Its ‘gm’ command is used to generate images.
Either compile it from source, or use a package manager:sudo apt-get install graphicsmagick
-
Install Poppler.
On Linux, use aptitude, apt-get or yum:
sudo apt install poppler-utils poppler-data
-
(Optional) Install Ghostscript:
sudo apt-get install ghostscript
Ghostscript is required to convert PDF and Postscript files. -
(Optional) Install Tesseract:
sudo apt-get install [tesseract | tesseract-ocr]
Without Tesseract installed, you'll still be able to extract text from documents, but you won't be able to automatically OCR them. -
(Optional) Install pdftk.
On Linux, use aptitude, apt-get or yum:
sudo apt-get install pdftk
-
(Optional) Install LibreOffice.
On Linux, use aptitude, apt-get or yum:
sudo apt-get install libreoffice - md5 or md5sum command line tool which is buit-in with Ubuntu
- Open the buidout configure file located at Plone/zinstance/buildout.cfg, and add the following line to the eggs part:
eggs =
....
collective.documentviewer - Run buildout from your Plone installation dir to install, in my case:
/home/vagrant/Plone/zinstance/bin/buildout - Restart Zope instance:
/home/vagrant/Plone/zinstance/bin/plonectl restart
Comments
Post a Comment