Skip to content

Testing Workflow

Luke Campbell edited this page Sep 15, 2016 · 1 revision

To create a tight testing loop and run the project locally:

  1. Create a new virtual environment for CKAN.
  2. Clone the projects:
  • lukecampbell/ckan
  • ioos/catalog-ckan
  • ckan/ckanext-harvest
  • ckan/ckanext-spatial
  1. pip install -e each project cloned
  2. Follow the CKAN Docs for setting up the database and creating a user account.

Running the web project

paster serve config/development.ini

Running the harvesters

To run the fetch-consumer process:

paster --plugin=ckanext-harvest harvester -c ../ckan/config/development.ini fetch_consumer

To run the gather-consumer process:

paster --plugin=ckanext-harvest harvester -c ../ckan/config/development.ini gather_consumer

Execute the run-step

while 1; do paster --plugin=ckanext-harvest harvester -c ../ckan/config/development.ini run; sleep 5; done
Clone this wiki locally