Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peopledoc/django-esutils
Django ES Utils
https://github.com/peopledoc/django-esutils
approved-public ghec-mig-migrated
Last synced: 17 days ago
JSON representation
Django ES Utils
- Host: GitHub
- URL: https://github.com/peopledoc/django-esutils
- Owner: peopledoc
- License: mit
- Created: 2014-09-12T16:39:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-28T15:20:11.000Z (over 9 years ago)
- Last Synced: 2024-11-13T19:33:09.266Z (about 2 months ago)
- Topics: approved-public, ghec-mig-migrated
- Language: Python
- Homepage:
- Size: 641 KB
- Stars: 2
- Watchers: 10
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
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