Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1003 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 1003 Bytes

pantry_elasticsearch_poc

Example usage

  1. Install docker
  2. Install python ( recommend anaconda)
  3. install python modules
    • python / venv
      1. python -m venv csv_to_elastic_geo
      2. venv/bin/activate
      3. pip install -r requirements.txt
    • conda
      1. conda create -n csv_to_elastic_geo
      2. activate csv_to_elastic_geo
      3. pip install -r requirements.txt
  4. docker-compose up
  5. python importer.py

Note that docker-compose.yml will run elasticsearch and kibana so you can go fiddle around with things. This is not secured in any way!

API usage

This is TBD but I'd like to see community-services-locator-api and mofb-api make use of elasticsearch over the ckan / other site as it should provide better response times and in general be more flexible.