"""
Configuration file for meerkat_nest

This configuration file sets up application level configurations
and imports the country specific configurations.

Many of the application level configurations can be overwritten by
environemental variables:

MEERKAT_NEST_DB_URL: db_url

COUNTRY_CONFIG_DIR: path to directory with country config

COUNTRY_CONFIG: name of country config file

"""
import os
from meerkat_nest.country_config import demo_config

# Application config
#config_directory = os.environ("COUNTRY_CONFIG_DIR")

# Country config
#country_config_file = os.environ("COUNTRY_CONFIG")
country_config = demo_config.country_config

SQS_ENDPOINT = 'http://tunnel:9324'
LOCAL = True

class Config(object):
    DEBUG = True
    TESTING = False

    
class Production(Config):
    DEBUG = False
    TESTING = False

class Development(Config):
    DEBUG = True
    TESTING = True

class Testing(Config):
    DEBUG = False
    TESTING = True

@@ -671,21 +671,8 @@
 324'
-%0ALOCAL = True
 %0A%0Acl
@@ -728,17 +728,33 @@
 = False%0A
+    LOCAL = True
 %0A
-
     %0Acla
@@ -786,32 +786,32 @@
   DEBUG = False%0A
-
     TESTING = Fa
@@ -813,16 +813,34 @@
  = False
+%0A    LOCAL = False
 %0A%0Aclass 

refactor configs