<commit_before># XXX - bring back default comments to this file...
import os

try:
    BUILD = os.environ['BUILD']
except:
    BUILD = 'DEV'
IS_PRODUCTION_SERVER = (BUILD == 'PRODUCTION')
DEBUG = not IS_PRODUCTION_SERVER
TEMPLATE_DEBUG = DEBUG

pdsDefaultLocation = "pds.linkedpersonaldata.org"
SERVER_UPLOAD_DIR = '/var/www/trustframework/'

PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))

if DEBUG:
    DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.sqlite3', 
            'NAME': 'test.db',      
            'USER': 'default',      
            'PASSWORD': '<PASSWORD>',  
            'HOST': '',      
            'PORT': '',      
        }
    }
else:
    import dj_database_url
    DATABASES = {}
    DATABASES['default'] =  dj_database_url.config()
    DATABASES['default']['CONN_MAX_AGE'] = None

# where can we find db fixtures?
FIXTURE_DIRS = (
   os.path.join(PROJECT_DIR, 'apps/account/fixtures'),
)<commit_msg>updating server locations<commit_after># XXX - bring back default comments to this file...
import os

try:
    BUILD = os.environ['BUILD']
except:
    BUILD = 'DEV'
IS_PRODUCTION_SERVER = (BUILD == 'PRODUCTION')
DEBUG = not IS_PRODUCTION_SERVER
TEMPLATE_DEBUG = DEBUG

pdsDefaultLocation = "https://flufuture-openpds.herokuapp.com"
SERVER_UPLOAD_DIR = '/var/www/trustframework/'

PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))

if DEBUG:
    DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.sqlite3', 
            'NAME': 'test.db',      
            'USER': 'default',      
            'PASSWORD': '<PASSWORD>',  
            'HOST': '',      
            'PORT': '',      
        }
    }
else:
    import dj_database_url
    DATABASES = {}
    DATABASES['default'] =  dj_database_url.config()
    DATABASES['default']['CONN_MAX_AGE'] = None

# where can we find db fixtures?
FIXTURE_DIRS = (
   os.path.join(PROJECT_DIR, 'apps/account/fixtures'),
)
{'fraction_non_alphanumeric': 0.1411764705882353, 'fraction_numerical': 0.0010230179028132991, 'mean_word_length': 2.6356877323420074, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '167282', 'n_tokens_mistral': 685, 'n_tokens_neox': 665, 'n_words': 126}