Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9346230
D3147.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
745 B
Subscribers
None
D3147.diff
View Options
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -4,3 +4,23 @@
Search service for the Software Heritage archive.
Currently uses ElasticSearch, and provides only origin search (by URL and metadata)
+
+# Dependencies
+
+Python tests for this module include tests that cannot be run without a local
+ElasticSearch instance, so you need the ElasticSearch server executable on your
+machine (no need to have a running ElasticSearch server).
+
+## Debian-like host
+
+The following instructions is enough:
+```
+sudo apt install elasticsearch
+```
+
+
+## Non Debian-like host
+
+The tests expect:
+- `/usr/share/elasticsearch/jdk/bin/java` to exist.
+- `org.elasticsearch.bootstrap.Elasticsearch` to be in java's classpath.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 3:50 PM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221317
Attached To
D3147: README: Update necessary dependencies for test purposes
Event Timeline
Log In to Comment