-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.json
51 lines (51 loc) · 1.43 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
{
"name": "pylinks",
"description": "A simple link directory using Django",
"repository": "https://github.com/michaelmior/pylinks",
"keywords": ["python", "django", "links", "directory"],
"env": {
"HOSTNAMES": {
"description": "A comma-separated list of hostnames where the app will be accessed used to prevent request forgery"
},
"UPLOADCARE_PUB_KEY": {
"description": "Uploadcare public key"
},
"UPLOADCARE_SECRET": {
"description": "Uploadcare secret key"
},
"DJANGO_SECRET_KEY": {
"description": "A randomly generated secret to secure your Django installation",
"generator": "secret"
}
},
"formation": {
"web": {
"quantity": 1,
"size": "free"
}
},
"addons": [
"bonsai:sandbox-10",
"newrelic:wayne",
"rollbar:free"
],
"scripts": {
"test": "sh -c 'python manage.py collectstatic && python manage.py test pylinks'",
"test-setup": "sh -c 'pip install whoosh && python manage.py migrate && python manage.py collectstatic --noinput'",
"postdeploy": "sh -c 'python manage.py migrate --noinput; python manage.py collectstatic --noinput'"
},
"environments": {
"test": {
"env": {
"DJANGO_DEBUG": 1,
"UPLOADCARE_DISABLED": 1,
"ROLLBAR_DISABLED": 1,
"DJANGO_SECRET_KEY": "foo",
"HOSTNAMES": "localhost"
},
"addons": [
"heroku-postgresql:in-dyno"
]
}
}
}