forked from hackthenorth/cog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
84 lines (84 loc) · 3.51 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
{
"name": "Cog",
"description": "A hackathon hardware check-out system by HackMIT",
"repository": "https://github.com/techx/cog",
"env": {
"SECRET": {
"description": "Random Secret for JWTs"
},
"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 by 12:30. If you are randomly selected to hack on one of these items, we will call you to the desk by text.",
"required": false
},
"CHECKOUT_TEXT": {
"description": "The info text underneath the 'Checkout Required' section",
"value": "Click to request any of these items. We will text you when your hardware is ready for pickup. 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": "Pick these up from the tool shop at any time. Please don't take more than you need, and return the items at the end of the event!",
"required": false
},
"MLH_TEXT": {
"description": "The info text underneath the 'MLH Item' section",
"value": "If you would like to sign out any of these items, request them through the MLH portal, then wait in the MLH line.",
"required": false
}
},
"addons": [
"heroku-postgresql:hobby-dev"
],
"scripts": {
"postdeploy": "python initialize.py"
}
}