<commit_before>#********************************************************************************
#--------------------------------------------------------------------------------
#
#	Significance Labs
#	Brooklyn, NYC
#
# 	Author: <NAME> (aberke)
# 	Written: June 2014
#
#
#--------------------------------------------------------------------------------
#*********************************************************************************





import os

# test.py sets environment to TESTING, heroku has environment as PRODUCTION
ENVIRONMENT = os.environ.get('ENVIRONMENT', 'DEVELOPMENT')

HOST = os.getenv('HOST', '127.0.0.1')
PORT = os.getenv('PORT', 3000)
DEBUG= False if ENVIRONMENT == 'PRODUCTION' else True


# - MONGO ----------------------------------
# if development: host is "mongodb://localhost:27017"
# if production: db is set in host URI, host is in "MONGOHQ_URL" env variable found in '$ heroku config' command
# if TESTING: db is 'testing'

MONGODB_HOST 	= "mongodb://localhost:27017"
MONGODB_DB 		= "house-cleaners"

if ENVIRONMENT == 'PRODUCTION':
	MONGODB_HOST=os.environ.get("MONGOHQ_URL", None)
	MONGODB_DB  = 'app26701254'

elif ENVIRONMENT == 'TESTING':
	MONGODB_DB 	= "house-cleaners-testing"

# ---------------------------------- MONGO -



SECRET_KEY 				= os.getenv('SESSION_SECRET', 'Significance')


TWILIO_ACCOUNT_SID		= os.environ['TWILIO_ACCOUNT_SID']
TWILIO_AUTH_TOKEN		= os.environ['TWILIO_AUTH_TOKEN']
TWILIO_NUMBER 			= os.getenv('TWILIO_NUMBER', '+16466473454')

# AWS_ACCESS_KEY_ID		= os.environ['AWS_ACCESS_KEY_ID']
# AWS_SECRET_ACCESS_KEY	= os.environ['AWS_SECRET_ACCESS_KEY']



del os<commit_msg>config for naive production -- must be updated when scale<commit_after>#********************************************************************************
#--------------------------------------------------------------------------------
#
#	Significance Labs
#	Brooklyn, NYC
#
# 	Author: <NAME> (aberke)
# 	Written: June 2014
#
#
#--------------------------------------------------------------------------------
#*********************************************************************************





import os

# test.py sets environment to TESTING, heroku has environment as PRODUCTION
ENVIRONMENT = os.environ.get('ENVIRONMENT', 'DEVELOPMENT')

HOST = os.getenv('HOST', '127.0.0.1')
PORT = os.getenv('PORT', 3000)
DEBUG= False if ENVIRONMENT == 'PRODUCTION' else True


# - MONGO ----------------------------------
# if development: host is "mongodb://localhost:27017"
# if production: db is set in host URI, host is in "MONGOHQ_URL" env variable found in '$ heroku config' command
# if TESTING: db is 'testing'

MONGODB_HOST 	= "mongodb://localhost:27017"
MONGODB_DB 		= "check-list"

if ENVIRONMENT == 'PRODUCTION':
	MONGODB_HOST=os.environ.get("MONGOHQ_URL", None)
	MONGODB_DB  = 'app27214918'

elif ENVIRONMENT == 'TESTING':
	MONGODB_DB 	= "check-list-testing"

# ---------------------------------- MONGO -



SECRET_KEY 				= os.getenv('SESSION_SECRET', 'Significance')


TWILIO_ACCOUNT_SID		= os.environ['TWILIO_ACCOUNT_SID']
TWILIO_AUTH_TOKEN		= os.environ['TWILIO_AUTH_TOKEN']
TWILIO_NUMBER 			= os.getenv('TWILIO_NUMBER', '+16466473454')

# AWS_ACCESS_KEY_ID		= os.environ['AWS_ACCESS_KEY_ID']
# AWS_SECRET_ACCESS_KEY	= os.environ['AWS_SECRET_ACCESS_KEY']



del os
{'fraction_non_alphanumeric': 0.3351449275362319, 'fraction_numerical': 0.025966183574879228, 'mean_word_length': 2.747737556561086, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7333386', 'n_tokens_mistral': 1185, 'n_tokens_neox': 1055, 'n_words': 211}