Skip to content

Commit

Permalink
added a setup template
Browse files Browse the repository at this point in the history
  • Loading branch information
Asrst committed Sep 18, 2023
1 parent ab8eca1 commit 46046b4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions setup.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion src/taxon_search/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
9 changes: 9 additions & 0 deletions temp_req.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
beautifulsoup4
Django==3.2.20
pymysql
pandas
requests
sqlalchemy
elasticsearch==7.12
elasticsearch-dsl
django-elasticsearch-dsl

0 comments on commit 46046b4

Please sign in to comment.