Skip to content

USGCRP/gcis-search

Repository files navigation

GCIS FacetView

Build Status

Facet Search interface for GCIS.

Requirements

Install ElasticSearch (only tested with version 1.7.X)

Demo: https://gcis-search-stage.jpl.net/search

Installation

  1. Clone repo:
git clone https://github.com/USGCRP/gcis-search.git
cd gcis-search
  1. Create virtualenv:
virtualenv env
source env/bin/activate
  1. Install required modules:
pip install -r requirements.txt
  1. Build gcis:
python setup.py develop
  1. Create db:
./manage.py createdb
  1. Install GCIS ES template:
cd scripts
./install_gcis_template.sh http://localhost:9200 gcis ../config/es_template-gcis.json
  1. Download GCIS data:
./download_gcis_data.py
  1. Import GCIS data:
./import_gcis_data.py
  1. Run server:
./manage.py server -h 0.0.0.0
  1. Access interface in browser: http://:5000