1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00
roundcube_ynh/README.md

89 lines
2.6 KiB
Markdown
Raw Normal View History

Roundcube for YunoHost
----------------------
2016-03-30 18:24:34 +02:00
*This is a work-in-progress package review to update Roundcube to 1.1.x
and make use of new YunoHost facilities - e.g. helpers - coming with 2.3.x.*
2016-05-01 14:18:57 +02:00
[Roundcube](https://roundcube.net/) is a browser-based multilingual IMAP client with
an application-like user interface.
**Shipped version:** 1.1.5
2016-03-30 18:24:34 +02:00
## Installation
While it's merged to the official application list, you can install it in order
to try - or use it with caution! - either from the command line:
$ sudo yunohost app install https://github.com/jeromelebleu/roundcube_ynh/tree/dev
or from the Web administration:
* Go to *Applications*
* Click on *Install*
* Scroll to the bottom of the page and put `https://github.com/jeromelebleu/roundcube_ynh/tree/dev`
under **Install custom app**.
## Upgrade
You can upgrade to this package from the command line for testing purpose with:
$ sudo yunohost app upgrade -u https://github.com/jeromelebleu/roundcube_ynh/tree/dev roundcube
2016-03-30 18:24:34 +02:00
## Extend and tweaks
### Configuration
You can extend - or even override - the Roundcube configuration which is coming
with this package in the file `conf/local.inc.php`. Do not edit the file
`conf/config.inc.php` as it will be overriden with upgrades.
### Plugins
You can also install other plugins - which will not removed with upgrades. To do so,
you can use the official [Plugin Repository](https://plugins.roundcube.net/).
#### From the Plugin Repository
Let's say for example that we want to install the
[html5_notifier](https://plugins.roundcube.net/packages/kitist/html5_notifier) plugin.
1. Connect to your server as root using SSH:
```
$ ssh admin@1.2.3.4
$ sudo -i
```
2. Log as the `www-data` user - which owns the roundcube directory - and navigate
under it:
```
# su -s /bin/bash - www-data
$ cd /var/www/roundcube
```
3. Install the plugin you want using composer - note that you have to specify
*kitist/html5_notifier* and not only *html5_notifier*:
```
$ COMPOSER_HOME=./.composer php composer.phar require "kitist/html5_notifier"
```
4. Enable it in the local configuration file `conf/local.inc.php` using you're
favorite text editor by adding:
```
<?php
$config['plugins'][] = 'html5_notifier';
```
Note that you should also check the plugin homepage for additional installation
steps as needed.
2016-05-01 14:18:57 +02:00
#### Manual installation
2016-03-30 18:24:34 +02:00
You can also download the plugin and put it under the `plugins/` directory. In that
case, do not forget to change ownerships to this folder to `www-data`.
## Links
2016-03-30 18:24:34 +02:00
**Roundcube**: https://roundcube.net/
2016-03-30 18:24:34 +02:00
**YunoHost**: https://yunohost.org/