[ckan-changes] commit/ckanextiati: sebbacon: note about cron job

Bitbucket commits-noreply at bitbucket.org
Fri Jun 10 11:21:29 UTC 2011


1 new changeset in ckanextiati:

http://bitbucket.org/okfn/ckanextiati/changeset/82a8cee423ca/
changeset:   82a8cee423ca
user:        sebbacon
date:        2011-06-10 13:21:21
summary:     note about cron job
affected #:  1 file (371 bytes)

--- a/README.txt	Fri Jun 10 12:15:45 2011 +0100
+++ b/README.txt	Fri Jun 10 12:21:21 2011 +0100
@@ -61,6 +61,10 @@
 
 (Don't forget to also add a 'solr_url').
 
+4) Note that currently there are no hooks in place to update the
+indexes when a Group/Publisher is updated.  Therefore we currently rely on a dirty hack to keep the indexes roughly up to date: a cron job to update indexes daily, thus:
+
+   . /etc/ckan/testing/pyenv/bin/activate && paster  --plugin=ckan search-index -c /etc/ckan/testing/testing.ini rebuild && deactivate
 
 Overall workflow for IATI
 =========================

Repository URL: https://bitbucket.org/okfn/ckanextiati/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list