forked from twschiller/open-synthesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
131 lines (131 loc) · 4.89 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
{
"name": "Open Synthesis",
"description": "Open platform for CIA-style intelligence analysis",
"image": "heroku/python",
"website": "https://www.opensynthesis.org",
"repository": "https://github.com/twschiller/open-synthesis",
"keywords": [
"python",
"django",
"analysis of competing hypotheses",
"ACH"
],
"addons": [
"heroku-postgresql:hobby-dev",
"rollbar:free",
"sendgrid:starter",
"memcachier:dev",
"heroku-redis:hobby-dev"
],
"env": {
"SITE_NAME": {
"description": "The name of your deployment, e.g., Open Synthesis. If you are planning on running a public instance, please do not use the name 'Open Synthesis' because may it cause confusion between your deployment and the official website.",
"required": true
},
"SITE_DOMAIN": {
"description": "The domain (including subdomain) that the deployment is being hosted at. This is should be set to app-name.herokuapp.com where app-name is the name of the Heroku app. If you plan on using a custom domain, it should be set to the custom domain, e.g., www.customdomain.com.",
"required": true
},
"ADMIN_USERNAME": {
"description": "Website admin's username",
"required": true,
"value": "admin"
},
"ADMIN_PASSWORD": {
"description": "Website admin's password. NOTE: this value will be shown on the application's settings page. Delete this configuration variable once you've deployed the application.",
"required": true
},
"ADMIN_EMAIL_ADDRESS": {
"description": "Website admin's email address. Used as default email address for sending/receiving email",
"required": true
},
"DJANGO_SECRET_KEY": {
"description": "A secret key for verifying the integrity of signed cookies",
"generator": "secret"
},
"SENDGRID_API_KEY": {
"description": "API key for sending email digest and invite emails via SendGrid",
"required": false
},
"DEBUG": {
"description": "Whether or not the application is running in DEBUG mode (DO NOT ENABLE IN PRODUCTION)",
"value": "False",
"required": false
},
"ENVIRONMENT_NAME": {
"description": "Environment identifier, e.g., 'production', or 'development'. Used to distinguish deployments, e.g., in Rollbar (default='development' if DEBUG else 'production')",
"value": "True",
"required": false
},
"ROLLBAR_ENABLED": {
"description": "Whether or not warnings and errors should be sent to Rollbar for analysis (default=True)",
"value": "True",
"required": false
},
"ACCOUNT_EMAIL_REQUIRED": {
"description": "Whether users must provide a valid email before using the service (default=True)",
"value": "True",
"required": false
},
"ACCOUNT_REQUIRED": {
"description": "Whether a user must have an account to access the site (default=False)",
"value": "False",
"required": false
},
"INVITE_REQUIRED": {
"description": "Whether a user must receive an invitation to join the site (default=False)",
"value": "False",
"required": false
},
"INVITE_REQUEST_URL": {
"description": "URL where a user can request an invitation to the site (for an email address, user mailto:[email protected])",
"required": false
},
"DEFAULT_FROM_EMAIL": {
"description": "Default email address for sending emails to users (default=ADMIN_EMAIL_ADDRESS)",
"required": false
},
"EVIDENCE_REQUIRE_SOURCE": {
"description": "Whether or not analysts must provide a corroborating source when adding a piece of evidence (default=True)",
"required": false,
"value": "True"
},
"EDIT_REMOVE_ENABLED": {
"description": "Allow anyone with edit rights to remove a evidence or a hypothesis; only staff can remove boards (default=True)",
"required": false,
"value": "True"
},
"TWITTER_ACCOUNT": {
"description": "Twitter handle associated with the instance (must include preceding '@')",
"required": false
},
"DONATE_BITCOIN_ADDRESS": {
"description": "Bitcoin address for accepting donations",
"required": false
},
"BANNER_MESSAGE": {
"description": "An alert to show to all users. URLs in the message will be converted into links.",
"required": false
},
"PRIVACY_URL": {
"description": "The URL for the deployment's privacy policy",
"required": false
},
"DIGEST_WEEKLY_DAY": {
"description": "Week day to send weekly digest email where Monday=0, ..., Sunday=6 (default=0)",
"required": false,
"value": "0"
}
},
"scripts": {
"postdeploy": "python manage.py migrate && python manage.py setname && python manage.py createadmin && python manage.py loaddata source_tags && python manage.py check --deploy"
},
"buildpacks": [
{
"url": "heroku/nodejs"
},
{
"url": "heroku/python"
}
]
}