This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.json
131 lines (131 loc) · 4.07 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": "sfdoc",
"description": "Publish easyDITA Docs to Salesforce Knowledge",
"image": "heroku/python",
"buildpacks": [
{"url": "heroku/python"}
],
"repository": "https://github.com/SalesforceFoundation/sfdoc",
"keywords": [
"python",
"django",
"salesforce",
"easydita"
],
"addons": [
"heroku-postgresql",
"heroku-redis"
],
"env": {
"ARTICLE_AUTHOR": {
"description": "Name attribute of meta tag to use as author info (easyDITA user ID)"
},
"ARTICLE_AUTHOR_OVERRIDE": {
"description": "Name attribute of meta tag to use as author info override (Salesforce Community user ID)"
},
"ARTICLE_BODY_CLASS": {
"description": "Class attribute of div tag used to identify the article"
},
"AWS_ACCESS_KEY_ID": {
"description": "Amazon Web Services access key ID"
},
"AWS_SECRET_ACCESS_KEY": {
"description": "Amazon Web Services secret access key"
},
"AWS_S3_BUCKET": {
"description": "Name of the storage bucket on AWS"
},
"DATABASE_URL": {
"description": "The URL of the Postgres database"
},
"EASYDITA_INSTANCE_URL": {
"description": "The URL of your easyDITA instance"
},
"EASYDITA_PASSWORD": {
"description": "easyDITA user password"
},
"EASYDITA_USERNAME": {
"description": "easyDITA user name (needed for API access)"
},
"SALESFORCE_API_VERSION": {
"description": "Salesforce API version"
},
"SALESFORCE_ARTICLE_AUTHOR_FIELD": {
"description": "Salesforce custom field on KnowledgeArticleVersion for the easyDITA author ID"
},
"SALESFORCE_ARTICLE_AUTHOR_OVERRIDE_FIELD": {
"description": "Salesforce custom field on KnowledgeArticleVersion for the Salesforce Community user ID"
},
"SALESFORCE_ARTICLE_BODY_FIELD": {
"description": "Salesforce custom field on KnowledgeArticleVersion for the article body"
},
"SALESFORCE_ARTICLE_TEXT_INDEX_FIELD": {
"description": "Salesforce article text index field"
},
"SALESFORCE_ARTICLE_TYPE": {
"description": "Salesforce article type e.g. Info__kav"
},
"SALESFORCE_ARTICLE_URL_PATH_PREFIX": {
"description": "Salesforce article URL path prefix"
},
"SALESFORCE_ARTICLE_PREVIEW_URL_PATH_PREFIX": {
"description": "Salesforce article preview URL path prefix"
},
"SALESFORCE_ARTICLE_LINK_LIMIT": {
"description": "Salesforce limit on number of links allowed in an article to other articles"
},
"SALESFORCE_CLIENT_ID": {
"description": "Salesforce connected app Client ID"
},
"SALESFORCE_COMMUNITY": {
"description": "Salesforce community name"
},
"SALESFORCE_JWT_PRIVATE_KEY": {
"description": "Salesforce connected app JWT private key"
},
"SALESFORCE_SANDBOX": {
"description": "Is the connected Salesforce org a sandbox? True/False"
},
"SALESFORCE_USERNAME": {
"description": "Salesforce org username for API access"
},
"SECRET_KEY": {
"description": "The secret key for the Django application.",
"generator": "secret"
},
"SKIP_HTML_FILES": {
"description": "JSON list of HTML filenames to skip when processing (wildcards supported)"
},
"WHITELIST_HTML": {
"description": "JSON key-value object whose keys are the whitelisted HTML tags, and the values are lists of whitelisted attributes for that tag"
},
"WHITELIST_URL": {
"description": "JSON list of URLs that may be linked to from articles (wildcards supported)"
}
},
"formation": {
"web": {
"quantity": 1,
"size": "free"
},
"worker": {
"quantity": 1,
"size": "free"
}
},
"scripts": {
"postdeploy": "python manage.py migrate --noinput"
},
"environments": {
"test": {
"scripts": {
"test-setup": "pip install --upgrade -r requirements/test.txt",
"test": "pytest"
},
"addons": ["heroku-postgresql:in-dyno", "heroku-redis:in-dyno"],
"env": {
"DJANGO_SETTINGS_MODULE": "config.settings.test"
}
}
}
}