aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2019-11-08 19:25:28 +0100
committerMartin Czygan <martin.czygan@gmail.com>2019-11-08 19:25:28 +0100
commitfc3faa707535478ac129a1fffb756c790d29dbca (patch)
tree433ec761a72e8deeff66a83d7916b46b3cef805b
parent5748f3241117b52f5295dc589374ec0c219534e4 (diff)
downloadfatcat-fc3faa707535478ac129a1fffb756c790d29dbca.tar.gz
fatcat-fc3faa707535478ac129a1fffb756c790d29dbca.zip
mention elasticsearch empty index setup
When setting up with the defaults, all works fine, except that the web search will try to access a local elasticsearch. Mention in README, how to create empty indices.
-rw-r--r--python/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/README.md b/python/README.md
index 1b2057f1..7c97bbc0 100644
--- a/python/README.md
+++ b/python/README.md
@@ -43,6 +43,11 @@ Almost all configuration is done via environment variables; see `example.env`
for a list of settings. If you copy this file to `.env` it will be sourced by
`pipenv` automatically; you can also load it in your shell like `source .env`.
+If elasticsearch is not set up, you might want to create two empty indices:
+
+ curl -XPUT localhost:9200/fatcat_release
+ curl -XPUT localhost:9200/fatcat_container
+
## Running Tests
Many (though not all) python tests depend on access to a local running API