Skip to content

Commit

Permalink
add README note about running on separate server, ckan#191
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Jul 31, 2023
1 parent c062f54 commit ba66c91
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------------

Expand Down

0 comments on commit ba66c91

Please sign in to comment.