From fc3faa707535478ac129a1fffb756c790d29dbca Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 8 Nov 2019 19:25:28 +0100 Subject: 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. --- python/README.md | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3