Updated README.md

This commit is contained in:
Christoph Haas 2015-06-15 16:42:49 +02:00
parent 3e8d6f7746
commit 58c5dd2837

View File

@ -6,7 +6,28 @@ This plugin will provide a preview panel for PDF and ODF files based on [ViewerJ
1.0.2 (06.2015) 1.0.2 (06.2015)
### Installation ### Installation
This steps are show for debian bases systems. It should be simillar to all other systems.
#### Installation for Ubuntu/Debian
To install the fileviewer plugin, add the following repository to your apt list:
http://packages.sprinternet.at:82
```sh
$ wget packages.sprinternet.at/packages.sprinternet.key > packages.sprinternet.key
$ sudo apt-key add packages.sprinternet.key
$ echo "deb http://packages.sprinternet.at:82 trusty main" | sudo tee -a /etc/apt/sources.list
$ sudo apt-get update
$ sudo apt-get install zarafa-webapp-plugins-fileviewer
```
#### Manual Installation
This steps are show for debian bases systems. It should be similar to all other systems.
Install the plugin to Zartafa Webapp. Therefore copy the whole folder **'fileviewer'** to the Webapp plugin directory: Install the plugin to Zartafa Webapp. Therefore copy the whole folder **'fileviewer'** to the Webapp plugin directory:
@ -14,6 +35,8 @@ Install the plugin to Zartafa Webapp. Therefore copy the whole folder **'filevie
$ sudo cp -r fileviewer /usr/share/zarafa-webapp/plugins/ $ sudo cp -r fileviewer /usr/share/zarafa-webapp/plugins/
``` ```
If you are running a precompiled WebApp you have to run "ant deploy" in the rootfolder of the fileviewer plugin before copying it.
Now you have the plugin installed. Restart the webserver (optional) and continue configuring the fileviewer plugin. Now you have the plugin installed. Restart the webserver (optional) and continue configuring the fileviewer plugin.
```sh ```sh