-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
42 lines (42 loc) · 1.15 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
{
"name": "WDR OKR",
"description": "This app handles the database for WDR OKR",
"repository": "https://github.com/wdr-data/wdr-okr",
"success_url": "/admin",
"scripts": {
"postdeploy": "python manage.py migrate && echo \"from django.contrib.auth.models import User; User.objects.create_superuser('${ADMIN_USER}', '${ADMIN_EMAIL}', '${ADMIN_PASSWORD}')\" | python manage.py shell"
},
"env": {
"SECRET_KEY": {
"description": "A secret key for verifying the integrity of signed cookies.",
"generator": "secret"
},
"ADMIN_USER": {
"description": "Username for the initial superuser",
"value": ""
},
"ADMIN_EMAIL": {
"description": "Email address of the superuser",
"value": ""
},
"ADMIN_PASSWORD": {
"description": "Initial password for the superuser",
"value": ""
}
},
"addons": ["heroku-postgresql:hobby-dev"],
"buildpacks": [
{
"url": "heroku-community/apt"
},
{
"url": "heroku/python"
},
{
"url": "https://github.com/loadsmart/env-buildpack"
},
{
"url": "https://github.com/niteoweb/heroku-buildpack-shell"
}
]
}