nhsengland / ckanext-nhsengland

NHS England CKAN skin
GNU Affero General Public License v3.0
2 stars 5 forks source link

Command for forcing a reload of the datastore #11

Closed rossjones closed 9 years ago

rossjones commented 9 years ago

The command will allow you to force reload on a single resource (if you provide its ID), or all resources in the system.

Force all resources

paster --plugin=ckanext-nhsengland force-datastore -c $CKAN_INI

Force a single resource

paster --plugin=ckanext-nhsengland force-datastore <ID> -c $CKAN_INI

Note this only submits it for processing to the datapusher, so it won't necessarily be an immediate update.

ntoll commented 9 years ago

Please add documentation to the README :-) (basically the info in this pull request appropriately marked up as RST). Cheers!

rossjones commented 9 years ago

@ntoll done.