Skip to main content

Django Esutils.

Project description

Django ESUtils
==============

Common and easy way to manage ES backend in django based on elasticutils and
elasticsearch-py.

Hacking
-------

In order to hack on django-esutils, you'll need to set at least an Elasticsearch
instance available from your machine.

You can install it manually or more simply, use a docker container like this::

docker run --net host dockerfile/elasticsearch

and then you can browse your ES server at: http://127.0.0.1:9200/

Configuration
~~~~~~~~~~~~~

add a :file:`local_settings.py` file in your :file:`demo/demo_esutils` directory,
with these settings:

.. code-block:: python

ES_URLS = [
'http://127.0.0.1:9200',
]

(or change it to fit your ES target configuration)

Running tests
~~~~~~~~~~~~~


Now that your ES instance is ready, and your database connection set, simply run
the tests using tox, preferrably in a virtualenv::

mkvirtualenv TOX
pip install tox
tox

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-esutils-0.2.0.zip (11.8 kB view details)

Uploaded Source

File details

Details for the file django-esutils-0.2.0.zip.

File metadata

  • Download URL: django-esutils-0.2.0.zip
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-esutils-0.2.0.zip
Algorithm Hash digest
SHA256 727d491aa9e840e8171701d6881f85f1fad25cf9a5aa823df0c1d666e00a9306
MD5 d107d53176af8c55417c0bf697ea8c0f
BLAKE2b-256 0cfc9f839907a9b8bb33f298730b2f7971a4003edee46531cf7d01fcc232b411

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page