From ba66c91431b128bb09069b4e62d7d3cdae122f09 Mon Sep 17 00:00:00 2001 From: ThrawnCA Date: Mon, 31 Jul 2023 10:50:30 +1000 Subject: [PATCH] add README note about running on separate server, #191 --- README.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.rst b/README.rst index a17ac872..b4f113ae 100644 --- a/README.rst +++ b/README.rst @@ -92,6 +92,16 @@ can access the CKAN config, db and logging directly and avoids many HTTP calls. This simplification makes sense because the xloader job doesn't need to do much processing - mainly it is streaming the CSV file from disk into PostgreSQL. +It is still entirely possible to run the XLoader worker on a separate server, +if that is desired. The worker needs the following: + +- A copy of CKAN installed in the same Python virtualenv (but not running). +- A copy of the CKAN config file. +- Access to the Redis instance that the running CKAN app uses to store jobs. +- Access to the database. + +You can then run it via `ckan jobs worker` as below. + Caveat - column types ---------------------