A basic implementation of ElasticSearch with Django. Only Filter query has been used in this project.
pip install virtualenv virtualenvwrapper
sudo apt-get install fabric
sudo apt-get install openssh-server
ssh-add
ssh localhost
command works
cd ~
git clone https://github.com/vprabhat/Django-ElasticSearch.git
cd ~/Django-ElasticSearch/
fab setup_app:<username>,<path to python3> -H localhost -u <username>
(Please do not do this as root user) example:
fab setup_app:vprabhat,/usr/bin/python3 -H localhost -u vprabhat
elasticsearch-6.1.1/bin/elasticsearch
elasticsearch-6.1.1/bin/elasticsearch -d
cd es_filter
source /home/<username>/.virtualenvs/venv/bin/activate
python manage.py runserver 0.0.0.0:8000
python manage.py push_indices
python manage.py runserver 0.0.0.0:8000