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
==============
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
Release history Release notifications | RSS feed
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.3.zip
(12.7 kB
view details)
File details
Details for the file django-esutils-0.3.zip
.
File metadata
- Download URL: django-esutils-0.3.zip
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9ccda86df0b4a5a85e4e36b6c00de9e691db1cc806529a31deb946c7a212ffb |
|
MD5 | 658657b9c4977ec879b7afd4477340f9 |
|
BLAKE2b-256 | c2a51c9ef0dab0e73c49ac8433b80772c0b87d3acce9c3ad1b10671597a1790b |