]> git.koha-community.org Git - koha.git/commit
Bug 11926: Render community koha statistic usages
authorAlex Arnaud <alex.arnaud@biblibre.com>
Wed, 12 Mar 2014 08:07:06 +0000 (09:07 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 22 Oct 2014 18:17:00 +0000 (15:17 -0300)
commit07db379676704e472060383c432c45b36f8a2746
tree494ae2d7462d9a702c8a0faa7146b230fc774b4f
parentf6daff353de2deb17ee16ee4e0f8b9c36e5125c9
Bug 11926: Render community koha statistic usages

Goals:
- Collecting Koha usage statistics
- Rendering stats on a community website
- Having a big bicture of how koha is used

3 parts in the project:
- this patch in koha
- hea-ws which collects data
- hea-app which renders data

Installation:
1/ Fill systempreferences:
UsageStatsLastUpdateTime UsageStatsID UsageStatsShare UsageStatsLibraryName
2/ Setup a cron in your crontab (ex: at 3:00 every first of the month):
0 3 1 * * export KOHA_CONF=/home/koha/etc/koha-conf.xml; export PERL5LIB=/home/koha/src; perl /home/koha/src/C4/UsageStats.pm

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/UsageStats.pm [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref