-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.example.js
54 lines (48 loc) · 1.33 KB
/
config.example.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module.exports = {
// Used by express.cookieParser
// Just make up some random string. SHA1 hash works well.
sessionSecret: '891e0b202e6df9236e464bfff1cf1e1fad7b82fb',
// The port at which the server runs
port: 3000,
// local comments database
db: {
user: "",
password: "",
database: "comments",
host: "localhost"
},
// Use local database also for authentication
auth: {
type: "local",
register: "http://example.com/register"
},
// ALTERNATIVE: Authenticate using Sencha Forum database
// auth: {
// type: "sencha_forum",
// register: "http://www.sencha.com/forum/register.php",
// db: {
// user: "",
// password: "",
// host: "",
// database: ""
// }
// },
// The database to run jasmine unit tests in
testDb: {
user: "",
password: "",
database: "comments_test",
host: "localhost"
},
email: {
domain: "docs.sencha.com",
// Config for nodemailer
// See https://github.com/andris9/Nodemailer
config: {
host: 'localhost',
port: 25
}
// An address where to send all e-mails about new comments.
// mailinglists: "[email protected]"
}
};