-
-
Notifications
You must be signed in to change notification settings - Fork 99
/
app.json
52 lines (52 loc) · 1.88 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
{
"name": "Microblog API",
"description": "A modern Flask API.",
"repository": "https://github.com/miguelgrinberg/microblog-api",
"env": {
"DISABLE_AUTH": {
"required": false,
"description": "Set to \"true\" to disable token authentication."
},
"PASSWORD_RESET_URL": {
"required": false,
"description": "The URL to use in password reset links.",
"value": "http://localhost:3000/reset"
},
"MAIL_SERVER": {
"required": false,
"description": "An email server to use when sending emails. For SendGrid, use \"smtp.sendgrid.net\". For Gmail use \"smtp.googlemail.com\"."
},
"MAIL_PORT": {
"required": false,
"description": "The port in which the email server listens for clients. For SendGrid or Gmail, use 587."
},
"MAIL_USE_TLS": {
"required": false,
"description": "Set to any non-empty string to send emails via TLS. Required for both SendGrid and Gmail."
},
"MAIL_USERNAME": {
"required": false,
"description": "The username for the email sender's account, if required by the server. For SendGrid, use \"apikey\". For Gmail, use your Google username."
},
"MAIL_PASSWORD": {
"required": false,
"description": "The password for the email sender's account, if required by the server. For SendGrid, use your API Key. For Gmail, use your Google password (you will need to allow less secure apps in your Google account settings)."
},
"MAIL_DEFAULT_SENDER": {
"required": false,
"description": "The sender that appears in all emails sent by the application."
},
"SECRET_KEY": {
"description": "A secret key used to sign tokens.",
"generator": "secret"
}
},
"addons": [
{
"plan": "heroku-postgresql:mini"
}
],
"scripts": {
"postdeploy": "flask db upgrade && flask fake users 10 && flask fake posts 100"
}
}