Bläddra i källkod

Move elasticsearch requirements to an appropriate place

- elasticsearch is used only on production settings by default
- for development purposes elasticsearch is installed by a `provision.sh` script in a separate repo: https://github.com/wagtail/vagrant-wagtail-develop
Mikalai Saskavets 6 år sedan
förälder
incheckning
428092df6d
2 ändrade filer med 3 tillägg och 4 borttagningar
  1. 0 4
      requirements/base.txt
  2. 3 0
      requirements/production.txt

+ 0 - 4
requirements/base.txt

@@ -1,9 +1,5 @@
 Django>=2.1,<2.2
 django-dotenv==1.4.1
-# elasticsearch==2.x.x chosen for compatibility with t2.micro.elasticsearch and t2.small.elasticsearch
-# instance types on AWS (Elasticsearch 2.3). Adjust for your deployment as needed.
-elasticsearch==2.4.1
-
 wagtail>=2.3,<2.4
 wagtailfontawesome>=1.1.3,<1.2
 Pillow==4.0.0

+ 3 - 0
requirements/production.txt

@@ -1,4 +1,7 @@
 -r base.txt
+# elasticsearch==2.x.x chosen for compatibility with t2.micro.elasticsearch and t2.small.elasticsearch
+# instance types on AWS (Elasticsearch 2.3). Adjust for your deployment as needed.
+elasticsearch==2.4.1
 # Additional dependencies for Heroku deployment
 dj-database-url==0.4.1
 uwsgi==2.0.17.1