2016-10-04 22:58:05 -04:00
{
2016-12-22 09:03:04 -05:00
"test": {
2016-12-24 09:04:18 -05:00
"db": {
"dialect": "sqlite",
2017-02-04 00:31:37 -05:00
"storage": ":memory:"
2016-12-24 09:04:18 -05:00
}
2016-12-22 09:03:04 -05:00
},
2016-10-04 22:58:05 -04:00
"development": {
"db": {
2017-02-04 00:31:37 -05:00
"dialect": "sqlite",
"storage": "./db.hackmd.sqlite"
2016-10-04 22:58:05 -04:00
}
},
"production": {
"domain": "localhost",
"db": {
"username": "",
"password": "",
"database": "hackmd",
"host": "localhost",
"port": "5432",
"dialect": "postgres"
},
"facebook": {
"clientID": "change this",
"clientSecret": "change this"
},
"twitter": {
"consumerKey": "change this",
"consumerSecret": "change this"
},
"github": {
"clientID": "change this",
"clientSecret": "change this"
},
"gitlab": {
"baseURL": "change this",
"clientID": "change this",
2017-03-14 06:04:23 -04:00
"clientSecret": "change this",
"scope": "use 'read_user' scope for auth user only or remove this property if you need gitlab snippet import/export support (will result to be default scope 'api')"
2016-10-04 22:58:05 -04:00
},
"dropbox": {
"clientID": "change this",
2017-01-14 01:17:20 -05:00
"clientSecret": "change this",
"appKey": "change this"
2016-10-04 22:58:05 -04:00
},
"google": {
"clientID": "change this",
2017-01-14 01:17:20 -05:00
"clientSecret": "change this",
"apiKey": "change this"
2016-10-04 22:58:05 -04:00
},
2016-12-13 16:31:35 -05:00
"ldap": {
"url": "ldap://change_this",
"bindDn": null,
"bindCredentials": null,
"tokenSecret": "change this",
"searchBase": "change this",
"searchFilter": "change this",
"searchAttributes": "change this",
"tlsOptions": {
"changeme": "See https://nodejs.org/api/tls.html#tls_tls_connect_options_callback"
}
},
2016-10-04 22:58:05 -04:00
"imgur": {
"clientID": "change this"
}
}
}