Skip to content

Commit

Permalink
Merge branch 'feature/#46-luigi-integration-brian' of github.com:BD2K…
Browse files Browse the repository at this point in the history
…Genomics/dcc-storage-schemas into feature/#46-luigi-integration-brian
  • Loading branch information
Ubuntu committed Aug 16, 2016
2 parents 547b789 + 8093ccf commit 4ab94be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,12 @@ This script runs an unlimited number of BAM file uploads at random intervals. T

cd Dashboard
python file_query.py
# make sure the mappings are correct:
curl -XGET 'http://localhost:9200/analysis_file_index/_mapping?pretty'
# delete old data if needed
curl -XDELETE http://localhost:9200/analysis_file_index
# edit the mapping, see mappings.json and https://www.elastic.co/blog/found-elasticsearch-mapping-introduction
curl -XPUT 'http://localhost:9200/analysis_file_index' -d @file_browser/mappings.json
# now load this
curl -XPUT http://localhost:9200/analysis_file_index/_bulk?pretty --data-binary @elasticsearch.jsonl
# check it's in es
Expand All @@ -237,6 +241,10 @@ This script runs an unlimited number of BAM file uploads at random intervals. T

python -m SimpleHTTPServer 8000

### CORS

You may need to do the following to get cross-site scripting working: http://www.oodlestechnologies.com/blogs/How-to-solve-No-Access-Control-Allow-Origin-with-elastic-search

## Data Types

We support the following types. First and foremost, the types below are just intended
Expand Down

0 comments on commit 4ab94be

Please sign in to comment.