README update

This commit is contained in:
Aleksander Machniak 2019-05-22 09:29:24 +02:00
parent 5e63cef9d5
commit d42ca55bfc

View file

@ -6,14 +6,10 @@ server as backends for calendar and event storage. For both drivers, some
initialization of the local database is necessary. To do so, execute the initialization of the local database is necessary. To do so, execute the
SQL commands in drivers/<yourchoice>/SQL/<yourdatabase>.initial.sql SQL commands in drivers/<yourchoice>/SQL/<yourdatabase>.initial.sql
The client-side calendar UI relies on the "fullcalendar" project by Adam Arshaw
with extensions made for the use in Roundcube. All changes are published in
an official fork at https://github.com/roundcube/fullcalendar
For some general calendar-based operations such as alarms handling or iCal For some general calendar-based operations such as alarms handling or iCal
parsing/exporting this plugins requires the `libcalendaring` plugin which parsing/exporting and UI widgets/style this plugins requires the `libcalendaring`
is also part of the Kolab Roundcube Plugins repository. Make sure that plugin and `libkolab` plugins which are also part of the Kolab Roundcube Plugins repository.
is installed and configured correctly. Make sure these plugins are installed and configured correctly.
For recurring event computation, some utility classes from the Horde project For recurring event computation, some utility classes from the Horde project
are used. They are packaged in a slightly modified version with this plugin. are used. They are packaged in a slightly modified version with this plugin.
@ -27,7 +23,7 @@ library plugins. Thus in order to run the calendar plugin, you also need the
following plugins installed: following plugins installed:
* libcalendaring [1] * libcalendaring [1]
* libkolab [1] (when using the 'kolab' driver) * libkolab [1]
INSTALLATION INSTALLATION
@ -44,6 +40,7 @@ driver.
$ cd /<path-to-roundcube>/plugins $ cd /<path-to-roundcube>/plugins
$ cp -r /tmp/roundcubemail-plugins-kolab/plugins/calendar . $ cp -r /tmp/roundcubemail-plugins-kolab/plugins/calendar .
$ cp -r /tmp/roundcubemail-plugins-kolab/plugins/libcalendaring . $ cp -r /tmp/roundcubemail-plugins-kolab/plugins/libcalendaring .
$ cp -r /tmp/roundcubemail-plugins-kolab/plugins/libkolab .
2. Create calendar plugin configuration 2. Create calendar plugin configuration
@ -53,11 +50,15 @@ driver.
3. Initialize the calendar database tables 3. Initialize the calendar database tables
$ mysql roundcubemail < drivers/database/SQL/mysql.initial.sql
4. Enable the calendar plugin
$ cd ../../ $ cd ../../
$ bin/initdb.sh --dir=plugins/calendar/drivers/database/SQL
4. Build css styles for the Elastic skin
$ lessc --relative-urls -x plugins/libkolab/skins/elastic/libkolab.less > plugins/libkolab/skins/elastic/libkolab.min.css
5. Enable the calendar plugin
$ edit config/config.inc.php $ edit config/config.inc.php
Add 'calendar' to the list of active plugins: Add 'calendar' to the list of active plugins:
@ -68,5 +69,4 @@ Add 'calendar' to the list of active plugins:
); );
[1] https://git.kolab.org/diffusion/RPK/ [1] https://git.kolab.org/diffusion/RPK/