aboutsummaryrefslogtreecommitdiffstats
path: root/python/README.md
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2019-11-08 18:58:06 +0000
committerbnewbold <bnewbold@archive.org>2019-11-08 18:58:06 +0000
commit520261aa1bb9cd57266d2aed96b62b03bc079fcb (patch)
tree97930d1b046d3237d2fb3f6291a2a494f434a4ef /python/README.md
parent44c23290c72ec67db38f1e1d40b76ba795b40d9d (diff)
parentfc3faa707535478ac129a1fffb756c790d29dbca (diff)
downloadfatcat-520261aa1bb9cd57266d2aed96b62b03bc079fcb.tar.gz
fatcat-520261aa1bb9cd57266d2aed96b62b03bc079fcb.zip
Merge branch 'martin-python-readme-es-note' into 'master'
mention elasticsearch empty index setup See merge request webgroup/fatcat!3
Diffstat (limited to 'python/README.md')
-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