# -*- coding: utf-8 -*-
import sys
import socket
import settings

# fabric settings
FABRIC = {
    'live': {
        'HOSTS': ['host.com'],
        'WEB_USER': 'www-data',
        'ADMIN_USER': 'admin',
        'PROJECT_ROOT': '/srv/flt',
    }
}

EVERNOTE_SANDBOX = True

# trying to get a clean windows virtual env
PRODUCTION_SERVERS = ['xc',]
if socket.gethostname() in PRODUCTION_SERVERS:
    PRODUCTION = True
    sys.path.append(FABRIC['live']['PROJECT_ROOT'])
else:
    PRODUCTION = False
    
DEBUG = not PRODUCTION
TEMPLATE_DEBUG = DEBUG
MEDIA_DEV_MODE = DEBUG

ADMINS = (
    # ('Your Name', 'your_email@example.com'),
)

CONTACT_EMAIL = "larry@fltsys.org"

DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.mysql',
        #'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': os.path.join(PROJECT_ROOT,'db/fltsys.db'),                      # Or path to database file if using sqlite3.
        'USER': '',                      # Not used with sqlite3.
        'PASSWORD': '',                  # Not used with sqlite3.
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
    }
}

# Make this unique, and don't share it with anybody.
SECRET_KEY = '_7pr#bc70r5ck6$lf)ydgk*vjsfod5rl*cz8ao8&07+a-7ia3m'

GOOGLE_ANALYTICS_CODE = ""

DEBUG_TOOLBAR_CONFIG = {
    "INTERCEPT_REDIRECTS": False,
}

DEFAULT_FROM_EMAIL = ""
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = ""
EMAIL_HOST_PASSWORD = ""
EMAIL_PORT = 587
EMAIL_USE_TLS = True

ACCOUNT_OPEN_SIGNUP = True
ACCOUNT_REQUIRED_EMAIL = True
ACCOUNT_EMAIL_VERIFICATION = True
ACCOUNT_EMAIL_AUTHENTICATION = True
ACCOUNT_UNIQUE_EMAIL = EMAIL_CONFIRMATION_UNIQUE_EMAIL = False

import os
import sys

KMLDIR = os.path.join(settings.PROJECT_ROOT, "private", "kml")
JSONDIR = os.path.join(settings.PROJECT_ROOT, "private", "json")

GOOGLE_API_KEY = ''

if EVERNOTE_SANDBOX:
    EVERNOTE_HOST = "sandbox.evernote.com" 
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''
else:
    EVERNOTE_HOST = "evernote.com"
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''

8cbef48fc84054ee8cd0c06c2f6c29149dad6cb0
<mask token>

<mask token>
if socket.gethostname() in PRODUCTION_SERVERS:
    PRODUCTION = True
    sys.path.append(FABRIC['live']['PROJECT_ROOT'])
else:
    PRODUCTION = False
<mask token>
if EVERNOTE_SANDBOX:
    EVERNOTE_HOST = 'sandbox.evernote.com'
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''
else:
    EVERNOTE_HOST = 'evernote.com'
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''

<mask token>
FABRIC = {'live': {'HOSTS': ['host.com'], 'WEB_USER': 'www-data',
    'ADMIN_USER': 'admin', 'PROJECT_ROOT': '/srv/flt'}}
EVERNOTE_SANDBOX = True
PRODUCTION_SERVERS = ['xc']
if socket.gethostname() in PRODUCTION_SERVERS:
    PRODUCTION = True
    sys.path.append(FABRIC['live']['PROJECT_ROOT'])
else:
    PRODUCTION = False
DEBUG = not PRODUCTION
TEMPLATE_DEBUG = DEBUG
MEDIA_DEV_MODE = DEBUG
ADMINS = ()
CONTACT_EMAIL = 'larry@fltsys.org'
DATABASES = {'default': {'ENGINE': 'django.contrib.gis.db.backends.mysql',
    'NAME': os.path.join(PROJECT_ROOT, 'db/fltsys.db'), 'USER': '',
    'PASSWORD': '', 'HOST': '', 'PORT': ''}}
SECRET_KEY = '_7pr#bc70r5ck6$lf)ydgk*vjsfod5rl*cz8ao8&07+a-7ia3m'
GOOGLE_ANALYTICS_CODE = ''
DEBUG_TOOLBAR_CONFIG = {'INTERCEPT_REDIRECTS': False}
DEFAULT_FROM_EMAIL = ''
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 587
EMAIL_USE_TLS = True
ACCOUNT_OPEN_SIGNUP = True
ACCOUNT_REQUIRED_EMAIL = True
ACCOUNT_EMAIL_VERIFICATION = True
ACCOUNT_EMAIL_AUTHENTICATION = True
ACCOUNT_UNIQUE_EMAIL = EMAIL_CONFIRMATION_UNIQUE_EMAIL = False
<mask token>
KMLDIR = os.path.join(settings.PROJECT_ROOT, 'private', 'kml')
JSONDIR = os.path.join(settings.PROJECT_ROOT, 'private', 'json')
GOOGLE_API_KEY = ''
if EVERNOTE_SANDBOX:
    EVERNOTE_HOST = 'sandbox.evernote.com'
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''
else:
    EVERNOTE_HOST = 'evernote.com'
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''

import sys
import socket
import settings
FABRIC = {'live': {'HOSTS': ['host.com'], 'WEB_USER': 'www-data',
    'ADMIN_USER': 'admin', 'PROJECT_ROOT': '/srv/flt'}}
EVERNOTE_SANDBOX = True
PRODUCTION_SERVERS = ['xc']
if socket.gethostname() in PRODUCTION_SERVERS:
    PRODUCTION = True
    sys.path.append(FABRIC['live']['PROJECT_ROOT'])
else:
    PRODUCTION = False
DEBUG = not PRODUCTION
TEMPLATE_DEBUG = DEBUG
MEDIA_DEV_MODE = DEBUG
ADMINS = ()
CONTACT_EMAIL = 'larry@fltsys.org'
DATABASES = {'default': {'ENGINE': 'django.contrib.gis.db.backends.mysql',
    'NAME': os.path.join(PROJECT_ROOT, 'db/fltsys.db'), 'USER': '',
    'PASSWORD': '', 'HOST': '', 'PORT': ''}}
SECRET_KEY = '_7pr#bc70r5ck6$lf)ydgk*vjsfod5rl*cz8ao8&07+a-7ia3m'
GOOGLE_ANALYTICS_CODE = ''
DEBUG_TOOLBAR_CONFIG = {'INTERCEPT_REDIRECTS': False}
DEFAULT_FROM_EMAIL = ''
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 587
EMAIL_USE_TLS = True
ACCOUNT_OPEN_SIGNUP = True
ACCOUNT_REQUIRED_EMAIL = True
ACCOUNT_EMAIL_VERIFICATION = True
ACCOUNT_EMAIL_AUTHENTICATION = True
ACCOUNT_UNIQUE_EMAIL = EMAIL_CONFIRMATION_UNIQUE_EMAIL = False
import os
import sys
KMLDIR = os.path.join(settings.PROJECT_ROOT, 'private', 'kml')
JSONDIR = os.path.join(settings.PROJECT_ROOT, 'private', 'json')
GOOGLE_API_KEY = ''
if EVERNOTE_SANDBOX:
    EVERNOTE_HOST = 'sandbox.evernote.com'
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''
else:
    EVERNOTE_HOST = 'evernote.com'
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''

# -*- coding: utf-8 -*-
import sys
import socket
import settings

# fabric settings
FABRIC = {
    'live': {
        'HOSTS': ['host.com'],
        'WEB_USER': 'www-data',
        'ADMIN_USER': 'admin',
        'PROJECT_ROOT': '/srv/flt',
    }
}

EVERNOTE_SANDBOX = True

# trying to get a clean windows virtual env
PRODUCTION_SERVERS = ['xc',]
if socket.gethostname() in PRODUCTION_SERVERS:
    PRODUCTION = True
    sys.path.append(FABRIC['live']['PROJECT_ROOT'])
else:
    PRODUCTION = False
    
DEBUG = not PRODUCTION
TEMPLATE_DEBUG = DEBUG
MEDIA_DEV_MODE = DEBUG

ADMINS = (
    # ('Your Name', 'your_email@example.com'),
)

CONTACT_EMAIL = "larry@fltsys.org"

DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.mysql',
        #'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': os.path.join(PROJECT_ROOT,'db/fltsys.db'),                      # Or path to database file if using sqlite3.
        'USER': '',                      # Not used with sqlite3.
        'PASSWORD': '',                  # Not used with sqlite3.
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
    }
}

# Make this unique, and don't share it with anybody.
SECRET_KEY = '_7pr#bc70r5ck6$lf)ydgk*vjsfod5rl*cz8ao8&07+a-7ia3m'

GOOGLE_ANALYTICS_CODE = ""

DEBUG_TOOLBAR_CONFIG = {
    "INTERCEPT_REDIRECTS": False,
}

DEFAULT_FROM_EMAIL = ""
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = ""
EMAIL_HOST_PASSWORD = ""
EMAIL_PORT = 587
EMAIL_USE_TLS = True

ACCOUNT_OPEN_SIGNUP = True
ACCOUNT_REQUIRED_EMAIL = True
ACCOUNT_EMAIL_VERIFICATION = True
ACCOUNT_EMAIL_AUTHENTICATION = True
ACCOUNT_UNIQUE_EMAIL = EMAIL_CONFIRMATION_UNIQUE_EMAIL = False

import os
import sys

KMLDIR = os.path.join(settings.PROJECT_ROOT, "private", "kml")
JSONDIR = os.path.join(settings.PROJECT_ROOT, "private", "json")

GOOGLE_API_KEY = ''

if EVERNOTE_SANDBOX:
    EVERNOTE_HOST = "sandbox.evernote.com" 
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''
else:
    EVERNOTE_HOST = "evernote.com"
    EVERNOTE_CONSUMER_KEY = ''
    EVERNOTE_CONSUMER_SECRET = ''
    EVERNOTE_USER = ''
    EVERNOTE_PW = ''
