-
Notifications
You must be signed in to change notification settings - Fork 14
Testing Workflow
Luke Campbell edited this page Sep 15, 2016
·
1 revision
To create a tight testing loop and run the project locally:
- Create a new virtual environment for CKAN.
- Clone the projects:
- lukecampbell/ckan
- ioos/catalog-ckan
- ckan/ckanext-harvest
- ckan/ckanext-spatial
-
pip install -e
each project cloned - Follow the CKAN Docs for setting up the database and creating a user account.
paster serve config/development.ini
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