A really fast AJAX autocomplete service and widget
Python JavaScript HTML CSS Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autocompeter README notes Jan 9, 2017
bin/travis
docs update readthedocs urls Jun 14, 2016
public version 1.2.3 Jan 9, 2017
sampleloader
src version 1.2.3 Jan 9, 2017
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md README notes Jan 9, 2017
bower.json version 1.2.3 Jan 9, 2017
contribute.json switch to Django + ES Jan 5, 2017
docker-compose.yml switch to Django + ES Jan 5, 2017
gulpfile.js switch to gulp-clean-css Jun 9, 2016
logo.png logo and favicon Feb 27, 2015
manage.py
mkdocs.yml adding changelog to docs Mar 10, 2015
package.json version 1.2.3 Jan 9, 2017
requirements.txt upgrade django, elasticsearch-dsl, dj-database-url Jan 9, 2017

README.md

An ElasticSearch autocomplete Django server

Build Status

Documentation

Documentation on Read the Docs

Running tests

To run the unit tests run:

./manage.py test

Using Docker

First you need to create your own .env file. It should look something like this:

DEBUG=True
SECRET_KEY=somethingx
#DATABASE_URL=postgresql://localhost/autocompeter
ALLOWED_HOSTS=localhost
ES_CONNECTIONS_URLS=elasticsearch:9200
AUTH0_CLIENT_SECRET="optional"

Simply run:

docker-compose build
docker-compose up

And now you should have a server running on http://localhost:8000

And to run the tests with Docker:

docker-compose run web /usr/local/bin/python manage.py test

Writing documentation

If you want to work on the documentation, cd into the directory ./doc and make sure you have mkdocs pip installed. (see ./requirements.txt).

Then simple run:

mkdocs build
open site/index.html

If you have a bunch of changes you want to make and don't want to run mkdocs build every time you can use this trick:

mkdocs serve
open http://localhost:8000/