-
Notifications
You must be signed in to change notification settings - Fork 21
/
app.json
82 lines (82 loc) · 3.29 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
{
"name": "Cog",
"description": "A hackathon hardware check-out system by HackMIT",
"repository": "https://github.com/techx/cog",
"env": {
"QUILL": {
"description": "URL of Quill instance (for auth integration)"
},
"SECRET": {
"description": "Random Secret for JWTs - must match Quill secret"
},
"DEBUG": {
"description": "Toggle Flask debug mode. Should always be False in production",
"value": "False"
},
"FORCE_SSL": {
"description": "Toggle force SSL. Only takes affect if DEBUG=False",
"value": "False"
},
"ENABLE_WAITLIST": {
"description": "If True, lets users make requests even if item is out of stock",
"value": "True",
"required": false
},
"LOTTERY_REQUIRES_PROPOSAL": {
"description": "If True, requires hackers to submit a proposal for lotteried items",
"value": "True",
"required": false
},
"CLOSE_LOTTERY_WHEN_RUN": {
"description": "If True, item type is set to CHECKOUT after an item's lottery is run",
"value": "True",
"required": false
},
"DENY_LOTTERY_LOSERS": {
"description": "If True, deny lottery requests that don't win item",
"value": "True",
"required": false
},
"LOTTERY_CHAR_LIMIT": {
"description": "Character limit for lottery proposals, set to 0 to disable char limit",
"value": "140",
"required": false
},
"DISPLAY_LOTTERY_QUANTITY": {
"description": "If True, display current lottery item stock to user",
"value": "False",
"required": false
},
"DISPLAY_CHECKOUT_QUANTITY": {
"description": "If True, display current checkout item stock to user",
"value": "True",
"required": false
},
"LOTTERY_MULTIPLE_SUBMISSIONS": {
"description": "If False, prevent users from submitting multiple requests for same lottery item",
"value": "False",
"required": false
},
"LOTTERY_TEXT": {
"description": "The info text underneath the 'Lottery Required' section",
"value": "We have a limited quantity of these items. Please fill out a brief proposal describing your project idea, and we'll randomly accept as many requests as we can 30 minutes after hacking starts.",
"required": false
},
"CHECKOUT_TEXT": {
"description": "The info text underneath the 'Checkout Required' section",
"value": "Click to request any of these items, and your request will be approved when we have one available. Keep in mind we will ask to hold on to a form of ID until the item is returned.",
"required": false
},
"FREE_TEXT": {
"description": "The info text underneath the 'No Checkout Required' section",
"value": "Just come to the hardware desk and ask for any of these items!",
"required": false
}
},
"addons": [
"heroku-postgresql:hobby-dev"
],
"scripts": {
"postdeploy": "python initialize.py"
}
}