service_directory

This is the Service Directory project.


Keywords
service_directory
License
BSD-3-Clause
Install
pip install service_directory

Documentation

service-directory

A service directory of information.

Prerequisites:

  • PostgreSQL with the following extensions: - postgis [-- CREATE EXTENSION postgis;]

    OSMGeoAdmin for the Organisation model, ordering by distance in haystack.

    • citext [-- CREATE EXTENSION citext;] Case-insensitive text columns for things like category & keyword name.
  • Elasticsearch < 2.0 Version due to Haystack compatibility, see https://github.com/django-haystack/django-haystack/issues/1247

The following keys should be set in the django projects settings file (the values are only examples):

GOOGLE_ANALYTICS_TRACKING_ID = 'UA-VALIDKEY'

VUMI_GO_ACCOUNT_KEY = '123abc' VUMI_GO_CONVERSATION_KEY = '123abc' VUMI_GO_API_TOKEN = '123abc' VUMI_GO_API_URL = 'http://go.vumi.org/api/v1/go/http_api_nostream'

ideally things like the passwords and api keys should be kept out of the repository and possibly included in the settings through importing from a secrets file that is ignored by the version control.

eg in settings.py:

try:
from secrets import *
except ImportError:
raise
https://travis-ci.org/praekelt/service-directory.svg?branch=develop Code Coverage Service Directory Docs