-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapp.json
130 lines (130 loc) · 4.15 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
{
"name": "OSDI Proxy Layer",
"description":
"A proxy of the OSDI API for ActionKit, Blue State Digital, or VAN",
"repository": "https://github.com/justicedemocrats/osdi-proxy",
"keywords": ["osdi", "politics", "crm", "proxy"],
"addons": ["heroku-redis"],
"env": {
"USE_CRM": {
"description": "Which crm to use? Should be one of 'bsd', 'ak', or 'van'",
"required": true
},
"SYSTEM_NAME": {
"description":
"Please name this system for internal reference (my actionkit proxy)",
"required": true
},
"READ_ONLY": {
"description":
"Whether to make this proxy read only. If true, all POSTs, PUTs, and DELETEs are disallowed.",
"required": true,
"value": false
},
"PROXY_BASE_URL": {
"description": "What url will this be deployed at?",
"required": true
},
"OSDI_API_TOKEN": {
"description":
"The API token used to authenticate requests to this server",
"generator": "secret",
"required": false
},
"AK_BASE": {
"description":
"If using ActionKit, what's your base url? (https://something.my-organization.com/rest/v1/)",
"required": false
},
"AK_USERNAME": {
"description":
"If using ActionKit, what's your username with API access?",
"required": false
},
"AK_PASSWORD": {
"description":
"If using ActionKit, what's your password for the above username?",
"required": false
},
"AK_DEFAULT_CAMPAIGN": {
"description":
"If using ActionKit, what campaign should new events be created for?",
"required": false
},
"AK_EVENT_URL_BASE": {
"description":
"If using ActionKit, what's the base url for your events? (https://something.my-organization.com/campaign/event/)",
"required": false
},
"BSD_BASE": {
"description":
"If using BSD, what's your base slug? (myorganiation.cp.bsd.net)",
"required": false
},
"BSD_APP_ID": {
"description": "If using BSD, what's your application id?",
"required": false
},
"BSD_APP_KEY": {
"description": "If using BSD, what's the key for that application?",
"required": false
},
"BSD_EVENT_URL_BASE": {
"description":
"If using BSD, what's the base url for events? (https://secure.myorganization.com/page/event/detail/",
"required": false
},
"VAN_API_KEY": {
"description": "If using VAN, what's your API key?",
"required": false
},
"VAN_MODE": {
"description":
"If using VAN, what mode will you be using it in? (Must be one of 'voterfile' or 'mycampaign'",
"required": false
},
"VAN_APP_NAME": {
"description":
"If using VAN, what is the application name corresponding to your API key?",
"required": false
},
"VAN_DEFAULT_CONTACT_EMAIL": {
"description":
"If using VAN, what would you like the contact email to be for an event host if one is not present?",
"required": false
},
"VAN_DEFAULT_CONTACT_PHONE": {
"description":
"If using VAN, what would you like the contact phone to be for an event host if one is not present?",
"required": false
},
"VAN_DEFAULT_CONTACT_NAME": {
"description":
"If using VAN, what would you like the contact name to be for an event host if one is not present?",
"required": false
},
"ACTIONNETWORK_API_TOKEN": {
"description": "If using Action Network, what is your API key?",
"required": false
},
"NATIONBUILDER_SLUG": {
"description":
"If using Nation Builder, what is your slug (myslug.nationbuilder.com)?",
"required": false
},
"NATIONBUILDER_ACCESS_TOKEN": {
"description":
"If using Nation Builder, what is your access token / API key?",
"required": false
},
"NATIONBUILDER_SITE": {
"description": "If using Nation Builder, what site are your events on?",
"required": false
},
"NATIONBUILDER_EVENT_URL_BASE": {
"description":
"If using Nation Builder, what is the base url for your events?",
"required": false
}
}
}