2016-10-14 11:28:54 +00:00
|
|
|
{
|
2018-06-22 19:07:30 +00:00
|
|
|
"name": "CodiMD",
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Realtime collaborative markdown notes on all platforms",
|
|
|
|
"keywords": [
|
|
|
|
"Collaborative",
|
|
|
|
"Markdown",
|
|
|
|
"Notes"
|
|
|
|
],
|
2019-03-02 13:27:51 +00:00
|
|
|
"website": "https://codimd.org",
|
2019-03-27 18:31:20 +00:00
|
|
|
"repository": "https://github.com/codimd/server",
|
2019-03-29 11:31:12 +00:00
|
|
|
"logo": "https://github.com/codimd/server/raw/master/public/codimd-icon-1024.png",
|
2016-10-16 03:37:50 +00:00
|
|
|
"success_url": "/",
|
|
|
|
"env": {
|
|
|
|
"NPM_CONFIG_PRODUCTION": {
|
|
|
|
"description": "Let npm also install development build tool",
|
|
|
|
"value": "false"
|
|
|
|
},
|
|
|
|
"DB_TYPE": {
|
|
|
|
"description": "Specify database type. See sequelize available databases. Default using postgres",
|
|
|
|
"value": "postgres"
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_SESSION_SECRET": {
|
2018-03-28 10:49:03 +00:00
|
|
|
"description": "Secret used to secure session cookies.",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_HSTS_ENABLE": {
|
2017-10-12 23:14:50 +00:00
|
|
|
"description": "whether to also use HSTS if HTTPS is enabled",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_HSTS_MAX_AGE": {
|
2017-10-12 23:15:35 +00:00
|
|
|
"description": "max duration, in seconds, to tell clients to keep HSTS status",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_HSTS_INCLUDE_SUBDOMAINS": {
|
2017-10-12 23:15:35 +00:00
|
|
|
"description": "whether to tell clients to also regard subdomains as HSTS hosts",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_HSTS_PRELOAD": {
|
2017-10-12 23:15:35 +00:00
|
|
|
"description": "whether to allow at all adding of the site to HSTS preloads (e.g. in browsers)",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_DOMAIN": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "domain name",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_URL_PATH": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "sub url path, like `www.example.com/<URL_PATH>`",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_ALLOW_ORIGIN": {
|
2016-12-24 14:17:04 +00:00
|
|
|
"description": "domain name whitelist (use comma to separate)",
|
|
|
|
"required": false,
|
|
|
|
"value": "localhost"
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_PROTOCOL_USESSL": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "set to use ssl protocol for resources path (only applied when domain is set)",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_URL_ADDPORT": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "set to add port on callback url (port 80 or 443 won't applied) (only applied when domain is set)",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_FACEBOOK_CLIENTID": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Facebook API client id",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_FACEBOOK_CLIENTSECRET": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Facebook API client secret",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_TWITTER_CONSUMERKEY": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Twitter API consumer key",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_TWITTER_CONSUMERSECRET": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Twitter API consumer secret",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_GITHUB_CLIENTID": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "GitHub API client id",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_GITHUB_CLIENTSECRET": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "GitHub API client secret",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_GITLAB_BASEURL": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "GitLab authentication endpoint, set to use other endpoint than GitLab.com (optional)",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_GITLAB_CLIENTID": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "GitLab API client id",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_GITLAB_CLIENTSECRET": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "GitLab API client secret",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_GITLAB_SCOPE": {
|
2017-03-14 10:04:23 +00:00
|
|
|
"description": "GitLab API client scope (optional)",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_MATTERMOST_BASEURL": {
|
2017-10-29 10:16:40 +00:00
|
|
|
"description": "Mattermost authentication endpoint",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_MATTERMOST_CLIENTID": {
|
2017-10-29 10:16:40 +00:00
|
|
|
"description": "Mattermost API client id",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_MATTERMOST_CLIENTSECRET": {
|
2017-10-29 10:16:40 +00:00
|
|
|
"description": "Mattermost API client secret",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_DROPBOX_CLIENTID": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Dropbox API client id",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_DROPBOX_CLIENTSECRET": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Dropbox API client secret",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_DROPBOX_APP_KEY": {
|
2017-03-23 12:00:48 +00:00
|
|
|
"description": "Dropbox app key (for import/export)",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_GOOGLE_CLIENTID": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Google API client id",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_GOOGLE_CLIENTSECRET": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Google API client secret",
|
|
|
|
"required": false
|
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_IMGUR_CLIENTID": {
|
2016-10-16 03:37:50 +00:00
|
|
|
"description": "Imgur API client id",
|
|
|
|
"required": false
|
2017-10-25 13:49:37 +00:00
|
|
|
},
|
2019-03-31 00:29:34 +00:00
|
|
|
"CMD_ALLOW_PDF_EXPORT": {
|
2017-10-25 13:49:37 +00:00
|
|
|
"description": "Enable or disable PDF exports",
|
|
|
|
"required": false
|
2016-10-16 03:37:50 +00:00
|
|
|
}
|
2016-10-14 11:28:54 +00:00
|
|
|
},
|
2016-10-16 03:37:50 +00:00
|
|
|
"addons": [
|
|
|
|
"heroku-postgresql"
|
|
|
|
]
|
2016-10-14 11:28:54 +00:00
|
|
|
}
|