forked from politics-rewired/Spoke
-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.json
179 lines (152 loc) · 4.69 KB
/
app.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "spoke",
"description": "Mass peer to peer texting tool",
"repository": "https://github.com/moveonorg/spoke",
"success_url": "/",
"buildpacks": [
{ "url": "https://github.com/heroku/heroku-buildpack-nodejs" }
],
"env": {
"SUPPRESS_SELF_INVITE": {
"description": "Should anonymous visitors be able to create new organizations from the home page? You will probably want to start the app with this off, and then after creating your own organization, come back here and set it to 1",
"required": false,
"value": ""
},
"AUTH0_DOMAIN": {
"description": "auth0 domain attached to auth0 account",
"required": true,
"value": "<changeme>.auth0.com"
},
"AUTH0_CLIENT_ID": {
"description": "auth0 client id attached to auth0 account",
"required": true,
"value": "<changeme>"
},
"AUTH0_CLIENT_SECRET": {
"description": "auth0 client secret attached to auth0 account",
"required": true,
"value": "<changeme>"
},
"BASE_URL": {
"description": "based on your herokuapp name or domain name",
"required": true,
"value": "https://<changeme>.herokuapp.com"
},
"SESSION_SECRET": {
"description": "session secret",
"required": true,
"generator": "secret"
},
"DEFAULT_SERVICE": {
"description": "specifies using twilio api ",
"required": true,
"value": "twilio"
},
"TWILIO_API_KEY": {
"description": "for twilio integration and connected to twilio account",
"required": true,
"value": "<changeme>"
},
"TWILIO_APPLICATION_SID": {
"description": "for twilio integration and connected to twilio account",
"required": true,
"value": "<changeme>"
},
"TWILIO_AUTH_TOKEN": {
"description": "for twilio integration and connected to twilio account",
"required": true,
"value": "<changeme>"
},
"TWILIO_MESSAGE_SERVICE_SID": {
"description": "for twilio integration and connected to twilio account",
"required": true,
"value": "<changeme>"
},
"TWILIO_STATUS_CALLBACK_URL": {
"description": "for twilio integration and connected to twilio account",
"required": true,
"value": "https://<changeme>.herokuapp.com/twilio-message-report"
},
"EMAIL_HOST": {
"description": "for email notification integration",
"required": false,
"value": ""
},
"EMAIL_HOST_PASSWORD": {
"description": "for email notification integration",
"required": false,
"value": ""
},
"EMAIL_HOST_USER": {
"description": "for email notification integration",
"required": false,
"value": ""
},
"EMAIL_HOST_PORT": {
"description": "for email notification integration",
"required": false,
"value": ""
},
"EMAIL_FROM": {
"description": "for email notification integration, the from email address",
"required": false,
"value": ""
},
"PHONE_NUMBER_COUNTRY": {
"description": "for international integration (when not us)",
"required": true,
"value": "US"
},
"AWS_ACCESS_KEY_ID": {
"description": "in order to export data to an s3 bucket",
"required": false,
"value": ""
},
"AWS_SECRET_ACCESS_KEY": {
"description": "in order to export data to an s3 bucket",
"required": false,
"value": ""
},
"AWS_S3_BUCKET_NAME": {
"description": "in order to export data to an s3 bucket",
"required": false,
"value": ""
},
"ADVANCED_OPTIONS": {
"description": "Everything below here you should probably leave alone",
"required": false,
"value": ""
},
"NODE_ENV": {
"description": "node environment determines the application build/start process",
"required": true,
"value": "production"
},
"JOBS_SAME_PROCESS": {
"description": "recommended setting which means that the same node process that runs the web app processes applications.",
"required": true,
"value": "1"
},
"OUTPUT_DIR": {
"description": "for production build placement",
"required": true,
"value": "./build"
},
"PUBLIC_DIR": {
"description": "for production build placement",
"required": true,
"value": "./build/client"
},
"ASSETS_DIR": {
"description": "for assets directory in production build placement",
"required": true,
"value": "./build/client/assets"
},
"ASSETS_MAP_FILE": {
"description": "for assets directory placement",
"required": true,
"value": "assets.json"
}
},
"addons": ["heroku-postgresql:hobby-dev", "mailgun:starter"]
}