diff --git a/setup.md b/setup.md new file mode 100644 index 0000000..6d3a4c4 --- /dev/null +++ b/setup.md @@ -0,0 +1,7 @@ +### PROJECT SETUP + +1. Install python dependencies. +2. Run scripts to get fixtures & load fixtures. +3. Setup elastic cluster & update settings if required +4. Index documents +5. Run server \ No newline at end of file diff --git a/src/taxon_search/search.py b/src/taxon_search/search.py index 2bd021a..c8bea45 100644 --- a/src/taxon_search/search.py +++ b/src/taxon_search/search.py @@ -10,7 +10,6 @@ def search_species(query): # hits = TaxanomyDocument.search().query("match", name=query) # q_results = [] - # for hit in hits: # print(hit, hit.meta.score) diff --git a/temp_req.txt b/temp_req.txt new file mode 100644 index 0000000..9400296 --- /dev/null +++ b/temp_req.txt @@ -0,0 +1,9 @@ +beautifulsoup4 +Django==3.2.20 +pymysql +pandas +requests +sqlalchemy +elasticsearch==7.12 +elasticsearch-dsl +django-elasticsearch-dsl \ No newline at end of file