-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.py
59 lines (46 loc) · 1.35 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import os
site_dir = os.path.dirname(__file__)
static_path = os.path.join(site_dir, "static")
# Global password salt
SALT = '0x3l33u3c2YNNxgJarYTiYukhj5NhyJ7b21kVoL2M8RZuhT91J28t1vkzceAyeB'
# Port to serve on
PORT = 8080
# MongoDB database name
DB_NAME = 'consy'
# is true, the tests are run rather then the server
TEST = False
TEST_DB = 'consy_testing'
# When these are set to None, the MongoDB defaults are used. Override
# these values in your local settings if your database server runs on
# a non-local machine or a non-standard port.
DB_HOST = None
DB_PORT = None
TWILIO_ACCOUNT_SID = "ACc809eb42ff3bfe0160cb5bd720241a28"
TWILIO_AUTH_TOKEN = "426aeb9a2fabda0278b47fb36f84c8c6"
TWILIO_API_VERION = "2010-04-01"
TWILIO_NUMBERS = (
'15126074649', # Austin
'14155708208', # San Fran
'16466005056', # New York
'13108959876', # L.A.
'16178703861', # Boston
)
SMS_INPUT_URL = u'http://dev.connectsy.com/extras/SMS/'
SMS_OUTPUT_URL = u'/%(api_version)s/Accounts/%(account_sid)s/SMS/Messages' % {
u'api_version': u'2010-04-01',
u'account_sid': TWILIO_ACCOUNT_SID,
}
DEBUG = False
DEAMON = False
# This is at the bottom so as to override anything we set here
from settings_local import *
'''
Local Settings
==============
Required
--------
DEVELOPMENT - True or False
Optional
--------
PROCESS_COUNT - Integer number of processes to use in prod
'''