forked from Strider-CD/strider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-config.js
35 lines (28 loc) · 906 Bytes
/
test-config.js
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
//------------------------------------
// Default (development) config values
//------------------------------------
// MongoDB connection URI for the app
exports.db_uri = "mongodb://localhost/stridercdtest";
// Session store secret
exports.session_secret = "ZZZ";
// Server port
exports.server_port = 3000;
// Github OAuth2 API config
exports.github = {
appId: "a3af4568e9d8ca4165fe",
appSecret: "18651128b57787a3336094e2ba1af240dfe44f6c",
myHostname: "http://localhost:" + exports.server_port
};
// Server URL on the Internet
exports.strider_server_name = "http://localhost:3000";
// Email settings
exports.sendgrid = {
username: "foo"
, password: "bar"
};
/// ---------------------------------------
// Strider test run environment overrides
// ---------------------------------------
if (process.env.MONGODB_URI !== undefined) {
exports.db_uri = process.env.MONGODB_URI;
}