mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Update README.md
This commit is contained in:
parent
28a7c4c554
commit
61441c7d22
1 changed files with 73 additions and 4 deletions
77
README.md
77
README.md
|
@ -1,8 +1,77 @@
|
|||
Roundcube for YunoHost
|
||||
----------------------
|
||||
|
||||
This is a work-in-progress package review to update Roundcube to 1.1.x
|
||||
and make use of new YunoHost facilities - e.g. app helpers.
|
||||
*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.*
|
||||
|
||||
Roundcube is a browser-based multilingual IMAP client with an application-like
|
||||
user interface.
|
||||
|
||||
## 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**.
|
||||
|
||||
## 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.
|
||||
|
||||
#### Download & extract
|
||||
|
||||
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`.
|
||||
|
||||
## TODO
|
||||
|
||||
|
@ -12,6 +81,6 @@ and make use of new YunoHost facilities - e.g. app helpers.
|
|||
|
||||
## Links ##
|
||||
|
||||
Roundcube: https://roundcube.net/
|
||||
**Roundcube**: https://roundcube.net/
|
||||
|
||||
YunoHost: https://yunohost.org/
|
||||
**YunoHost**: https://yunohost.org/
|
||||
|
|
Loading…
Reference in a new issue