-
Notifications
You must be signed in to change notification settings - Fork 33
/
config.js.example
33 lines (33 loc) · 1.26 KB
/
config.js.example
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
global.DEFAULT_TEMP_LOCATION = '/var/www/';
// DEFAULT_HTTP_LOCATION without trailing slash
global.DEFAULT_HTTP_LOCATION = 'http://spec-server';
global.DEFAULT_LOG_LOCATION = '.';
global.DEFAULT_RESULT_LOCATION = '/var/www/';
global.DEFAULT_PORT = 3000;
global.TOKEN_ENDPOINT = 'http://localhost:3001/authorize';
global.SPEC_GENERATOR = 'http://localhost:3002/';
global.USERNAME = '';
global.PASSWORD = '';
global.W3C_PUBSYSTEM_URL = 'http://localhost:3001/publish';
global.TR_INSTALL_CMD =
'mkdir -p /var/www/$dest && cp -R $source /var/www/$dest';
global.UPDATE_TR_SHORTLINK_CMD = '#';
global.MAIL_SENDER = 'Echidna <[email protected]>';
global.MAIL_REPLYTO = '[email protected]';
global.MAILING_LIST = '[email protected]';
global.ATTACH_JSON = false;
global.ALLOWED_CLIENTS = [
// Same host (for tests):
/https?:\/\/localhost(:\d{1,4})?/i,
// W3C:
/https?:\/\/(www\.)?w3c?\.org/i,
// GitHub:
/https?:\/\/w3c\.github\.io/i,
];
global.LDAP_URL = 'ldaps://localhost:636';
global.LDAP_SEARCH_BASE = 'ou=user,dc=example,dc=org';
// LDAP_BIND_DN must contain the placeholder {{username}}
global.LDAP_BIND_DN = 'uid={{username}},ou=user,dc=example,dc=org';
global.GH_TOKEN = '123foobar';
global.GH_DIRECTOR_TEAM_ID = '2797096';
global.GH_COMM_TEAM_ID = '2794457';