Add Makefile targets to run testing instance against local

Docker REDIS and Postgres services

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-03-09 01:03:44 -04:00
parent 5abb678433
commit 286e9517c3
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
from __future__ import absolute_import
from ..production import * # NOQA
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'postgres',
'USER': 'postgres',
'HOST': 'localhost',
'PORT': '5432',
}
}
BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'